You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
858 B
34 lines
858 B
4 years ago
|
repositories {
|
||
|
gradlePluginPortal()
|
||
|
mavenCentral()
|
||
3 years ago
|
maven {
|
||
|
url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev")
|
||
4 years ago
|
}
|
||
|
maven {
|
||
|
url = uri("https://packages.jetbrains.team/maven/p/ui/dev")
|
||
|
}
|
||
|
}
|
||
|
|
||
|
plugins {
|
||
3 years ago
|
id("org.jetbrains.kotlin.jvm")
|
||
4 years ago
|
}
|
||
3 years ago
|
|
||
|
|
||
|
java {
|
||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||
3 years ago
|
}
|
||
3 years ago
|
|
||
|
dependencies {
|
||
3 years ago
|
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin")
|
||
|
}
|
||
|
|
||
|
// Write kotlin.version into a file, so it can be read by karma-test-runner patch (see test-utils/conf)
|
||
|
File(projectDir.resolve("build"), "kotlin.version").apply {
|
||
3 years ago
|
this.parentFile.mkdirs()
|
||
3 years ago
|
val kotlinVersion = extra["kotlin.version"].toString()
|
||
|
println("Writing kotlin.version=$kotlinVersion into $absolutePath")
|
||
|
createNewFile()
|
||
|
writeText(kotlinVersion)
|
||
3 years ago
|
}
|