-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle.kts
43 lines (34 loc) · 1.01 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
import org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
import org.jetbrains.intellij.IntelliJPluginExtension
plugins {
java
id("org.jetbrains.intellij") version "1.12.0"
id("org.jetbrains.kotlin.jvm") version "1.8.0"
}
group = "org.jetbrains.research.refactorinsight"
version = "2023.3-1.0"
repositories {
mavenCentral()
maven(url = "https://jitpack.io")
}
subprojects {
parent?.repositories?.forEach { repositories.add(it) }
pluginManager.withPlugin("org.jetbrains.intellij") {
intellij(configureIntelliJ)
}
tasks.withType<Test> {
useJUnit()
testLogging.exceptionFormat = FULL
}
}
val configureIntelliJ: Action<IntelliJPluginExtension> = Action {
version.set("LATEST-EAP-SNAPSHOT")
plugins.set(listOf("com.intellij.java", "Git4Idea", "org.jetbrains.plugins.github", "org.jetbrains.kotlin"))
downloadSources.set(true)
}
intellij(configureIntelliJ)
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}