mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
49 lines
1.2 KiB
Groovy
49 lines
1.2 KiB
Groovy
apply plugin: 'java'
|
|
apply plugin: 'kotlin'
|
|
|
|
group = "com.jetbrains.intellij.tools"
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.8.20'
|
|
ext.jackson_version = '2.14.1'
|
|
|
|
repositories {
|
|
maven { url = "https://cache-redirector.jetbrains.com/maven-central" }
|
|
maven { url = "https://cache-redirector.jetbrains.com/intellij-dependencies" }
|
|
}
|
|
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven { url = "https://cache-redirector.jetbrains.com/maven-central" }
|
|
maven { url = "https://cache-redirector.jetbrains.com/intellij-dependencies" }
|
|
|
|
maven { url = "https://www.jetbrains.com/intellij-repository/releases" }
|
|
maven { url = "https://www.jetbrains.com/intellij-repository/snapshots" }
|
|
maven { url = "https://www.jetbrains.com/intellij-repository/nightly" }
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(17)
|
|
}
|
|
|
|
sourceSets {
|
|
main.kotlin.srcDirs += 'src'
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
|
|
testLogging {
|
|
events "passed", "skipped", "failed", "standardOut", "standardError"
|
|
}
|
|
}
|