-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
41 lines (35 loc) · 779 Bytes
/
Copy pathbuild.gradle.kts
File metadata and controls
41 lines (35 loc) · 779 Bytes
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
plugins {
id("java")
`maven-publish`
}
val icuVersion = 74.2
group = "com.github.TarCV"
version = "$icuVersion-SNAPSHOT"
repositories {
mavenCentral()
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}
dependencies {
implementation("com.ibm.icu:icu4j:$icuVersion")
testImplementation("junit:junit:4.13.2")
testImplementation("pl.pragmatists:JUnitParams:1.1.1")
}
tasks {
withType<AbstractArchiveTask>().configureEach {
// Settings for reproducibility
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
fileMode = "644".toInt(8)
}
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}