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.
39 lines
906 B
39 lines
906 B
3 years ago
|
import org.jetbrains.compose.compose
|
||
|
|
||
|
plugins {
|
||
|
id("org.jetbrains.intellij") version "1.3.0"
|
||
|
java
|
||
|
kotlin("jvm")
|
||
|
id("org.jetbrains.compose")
|
||
|
id("idea")
|
||
|
}
|
||
|
|
||
|
group = "org.jetbrains.compose.intellij.platform"
|
||
|
version = "1.0-SNAPSHOT"
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
google()
|
||
|
maven { url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev") }
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
// compileOnly(compose.desktop.currentOs) runtime dependency is provided by org.jetbrains.compose.intellij.platform
|
||
|
testImplementation(kotlin("test"))
|
||
|
}
|
||
|
|
||
|
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||
|
intellij {
|
||
|
version.set("2021.3")
|
||
|
plugins.set(
|
||
|
listOf(
|
||
|
"org.jetbrains.compose.intellij.platform:0.1.0",
|
||
|
"org.jetbrains.kotlin"
|
||
|
)
|
||
|
)
|
||
|
}
|
||
|
|
||
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
||
|
kotlinOptions.jvmTarget = "11"
|
||
|
}
|