-
Notifications
You must be signed in to change notification settings - Fork 36
/
build.gradle.kts
47 lines (38 loc) · 962 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.9.20"
id("maven-publish")
}
group = "br.com.devsrsouza"
version = "0.11.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://maven.google.com")
maven("https://jetbrains.bintray.com/trove4j")
}
dependencies {
implementation("com.google.guava:guava:23.0")
implementation("com.android.tools:sdk-common:31.6.0")
implementation("com.android.tools:common:31.6.0")
implementation("com.squareup:kotlinpoet:1.9.0")
implementation("org.ogce:xpp3:1.1.6")
testImplementation(kotlin("test-junit"))
}
tasks.test {
useJUnit()
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "11"
}
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of("11"))
}
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["kotlin"])
}
}
}