-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
59 lines (51 loc) · 1.14 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
47
48
49
50
51
52
53
54
55
56
57
58
59
plugins {
id("org.jetbrains.intellij") version "1.17.4"
kotlin("jvm") version "2.0.21"
id("org.jlleitschuh.gradle.ktlint") version "12.1.1"
}
group = "io.dragnea"
version = "0.1"
intellij {
version.set("IU-2021.3.2")
plugins.set(
listOf(
"java",
"org.jetbrains.kotlin:213-1.6.10-release-923-IJ5744.223",
),
)
updateSinceUntilBuild.set(false)
}
java {
sourceCompatibility = JavaVersion.VERSION_11
}
tasks {
compileKotlin {
kotlinOptions {
jvmTarget = "11"
allWarningsAsErrors = true
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "11"
allWarningsAsErrors = true
}
}
runIde {
maxHeapSize = "4G"
}
signPlugin {
certificateChain.set(System.getenv("CERTIFICATE_CHAIN"))
privateKey.set(System.getenv("PRIVATE_KEY"))
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
}
publishPlugin {
token.set(System.getenv("PUBLISH_TOKEN"))
}
}
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
}