51 lines
1.2 KiB
Groovy
51 lines
1.2 KiB
Groovy
plugins {
|
|
id 'org.jetbrains.kotlin.jvm' version '1.4.10'
|
|
id 'org.openjfx.javafxplugin' version '0.0.8'
|
|
id 'org.springframework.boot' version "$springBootVersion"
|
|
id 'io.spring.dependency-management' version "$springDependencyManagementVersion"
|
|
id 'idea'
|
|
}
|
|
|
|
group 'com.bartlomiejpluta.base'
|
|
version 'unspecified'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
|
|
}
|
|
|
|
sourceSets {
|
|
main.kotlin.srcDirs += 'src/main/kotlin'
|
|
}
|
|
|
|
javafx {
|
|
version = "11.0.2"
|
|
modules = ['javafx.controls', 'javafx.graphics']
|
|
}
|
|
|
|
|
|
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = "14"
|
|
}
|
|
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = "14"
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(":proto")
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib"
|
|
implementation "no.tornado:tornadofx:${tornadoFxVersion}"
|
|
implementation platform("org.kordamp.ikonli:ikonli-bom:${ikonliVersion}")
|
|
implementation 'org.kordamp.ikonli:ikonli-javafx'
|
|
implementation 'org.kordamp.ikonli:ikonli-fontawesome-pack'
|
|
|
|
// Spring
|
|
implementation 'org.springframework.boot:spring-boot-starter'
|
|
}
|
|
|
|
build {
|
|
dependsOn(":proto:build")
|
|
}
|