-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
40 lines (32 loc) · 1.2 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
import kotlinx.coroutines.internal.artificialFrame
plugins {
java
id("org.jetbrains.intellij") version "1.1.5" // https://plugins.gradle.org/plugin/org.jetbrains.intellij
kotlin("jvm") version "1.5.31" // https://plugins.gradle.org/plugin/org.jetbrains.kotlin.jvm
id("com.palantir.git-version") version "0.12.3" // https://plugins.gradle.org/plugin/com.palantir.git-version
}
val gitVersion: groovy.lang.Closure<*> by extra
group = "gl.ro"
version = gitVersion()
repositories {
mavenCentral()
jcenter()
}
dependencies {
testImplementation("junit", "junit", "4.13.2") // https://mvnrepository.com/artifact/junit/junit
testImplementation("pl.pragmatists", "JUnitParams", "1.1.1") // https://github.com/Pragmatists/JUnitParams
// https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-reflect
implementation(platform("org.jetbrains.kotlin:kotlin-reflect:1.5.10"))
}
intellij {
version.set("2021.2.2")
type.set("IU")
plugins.set(listOf(
// https://plugins.jetbrains.com/plugin/9568-go/versions
"org.jetbrains.plugins.go:212.5284.31",
"java"
))
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
}