-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathbuild.gradle
49 lines (42 loc) · 1.12 KB
/
build.gradle
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
import static org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9
plugins {
id 'org.jetbrains.intellij' version '1.17.3'
id 'org.jetbrains.kotlin.jvm' version '1.9.22'
}
repositories {
mavenCentral()
}
sourceSets {
main {
java.srcDir './src'
kotlin.srcDir './src'
resources.srcDir './resources'
}
test {
kotlin.srcDir './test'
}
}
dependencies {
testImplementation 'junit:junit:4.13.2'
}
kotlin {
jvmToolchain(17)
}
compileKotlin {
compilerOptions {
apiVersion.set(KOTLIN_1_9)
languageVersion.set(KOTLIN_1_9)
// Compiler flag to allow building against pre-released versions of Kotlin
// because IJ EAP can be built using pre-released Kotlin but it's still worth doing to check API compatibility
freeCompilerArgs = ["-Xskip-metadata-version-check"]
}
}
intellij {
// See https://www.jetbrains.com/intellij-repository/releases
version = '241.14494.240'
// version = 'LATEST-EAP-SNAPSHOT'
pluginName = 'pomodoro'
downloadSources = true
sameSinceUntilBuild = false
updateSinceUntilBuild = false
}