-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
46 lines (39 loc) · 1.29 KB
/
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
plugins {
kotlin("jvm") version "1.6.10"
java
`maven-publish`
}
repositories {
mavenLocal()
maven {
url = uri("https://repo.maven.apache.org/maven2/")
}
}
dependencies {
implementation("org.slf4j:slf4j-api:1.7.30")
implementation("javax.annotation:javax.annotation-api:1.3.2")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10")
implementation("org.slf4j:slf4j-api:1.7.30")
testImplementation("junit:junit:4.13.1")
testImplementation("org.hamcrest:hamcrest:2.2")
testImplementation("org.apache.logging.log4j:log4j-slf4j-impl:2.13.0")
testImplementation("org.assertj:assertj-core:3.16.1")
testImplementation("com.google.testing.compile:compile-testing:0.19")
testImplementation("org.jetbrains.kotlin:kotlin-test:1.6.10")
testImplementation("junit:junit:4.13.1")
testImplementation("org.hamcrest:hamcrest:2.2")
testImplementation("org.apache.logging.log4j:log4j-slf4j-impl:2.13.0")
testImplementation("org.assertj:assertj-core:3.16.1")
}
group = "kext"
version = "1.0.0"
description = "kExt"
java.sourceCompatibility = JavaVersion.VERSION_1_8
publishing {
publications.create<MavenPublication>("maven") {
from(components["java"])
}
}
tasks.withType<JavaCompile>() {
options.encoding = "UTF-8"
}