xref: /aosp_15_r20/external/moshi/gradle/libs.versions.toml (revision 238ab3e782f339ab327592a602fa7df0a3f729ad)
1# Copyright (C) 2021 Square, Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15[versions]
16autoService = "1.0"
17gjf = "1.17.0"
18jvmTarget = "1.8"
19kotlin = "1.8.21"
20kotlinCompileTesting = "0.2.1"
21kotlinpoet = "1.13.2"
22ksp = "1.8.21-1.0.11"
23ktlint = "0.41.0"
24
25[plugins]
26dokka = { id = "org.jetbrains.dokka", version = "1.8.10" }
27japicmp = { id = "me.champeau.gradle.japicmp", version = "0.2.9" }
28ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
29mavenPublish = { id = "com.vanniktech.maven.publish", version = "0.25.2" }
30mavenShadow = { id = "com.github.johnrengelman.shadow", version = "7.0.0" }
31spotless = { id = "com.diffplug.spotless", version = "5.14.2" }
32
33[libraries]
34asm = "org.ow2.asm:asm:9.3"
35autoCommon = "com.google.auto:auto-common:1.1"
36autoService = { module = "com.google.auto.service:auto-service-annotations", version.ref = "autoService" }
37autoService-ksp = "dev.zacsweers.autoservice:auto-service-ksp:1.0.0"
38guava = "com.google.guava:guava:30.1.1-jre"
39jsr305 = "com.google.code.findbugs:jsr305:3.0.2"
40kotlin-annotationProcessingEmbeddable = { module = "org.jetbrains.kotlin:kotlin-annotation-processing-embeddable", version.ref = "kotlin" }
41kotlin-bom = { module = "org.jetbrains.kotlin:kotlin-bom", version.ref = "kotlin" }
42kotlin-compilerEmbeddable = { module = "org.jetbrains.kotlin:kotlin-compiler-embeddable", version.ref = "kotlin" }
43kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
44kotlinpoet = { module = "com.squareup:kotlinpoet", version.ref = "kotlinpoet" }
45kotlinpoet-metadata = { module = "com.squareup:kotlinpoet-metadata", version.ref = "kotlinpoet" }
46kotlinpoet-ksp = { module = "com.squareup:kotlinpoet-ksp", version.ref = "kotlinpoet" }
47kotlinxMetadata = "org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.6.0"
48ksp = { module = "com.google.devtools.ksp:symbol-processing", version.ref = "ksp" }
49ksp-api = { module = "com.google.devtools.ksp:symbol-processing-api", version.ref = "ksp" }
50okio = "com.squareup.okio:okio:3.7.0"
51
52# Test libs
53assertj = "org.assertj:assertj-core:3.11.1"
54junit = "junit:junit:4.13.2"
55kotlinCompileTesting = { module = "dev.zacsweers.kctfork:core", version.ref = "kotlinCompileTesting" }
56kotlinCompileTesting-ksp = { module = "dev.zacsweers.kctfork:ksp", version.ref ="kotlinCompileTesting" }
57truth = "com.google.truth:truth:1.1.3"
58