-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
47 lines (40 loc) · 1.28 KB
/
build.gradle
File metadata and controls
47 lines (40 loc) · 1.28 KB
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
44
45
46
47
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.4.21'
id 'org.openjfx.javafxplugin' version '0.0.7'
}
javafx {
modules = [ 'javafx.controls', 'javafx.media', 'javafx.graphics' ]
}
final daggerVersion = '2.30.1'
apply plugin: 'kotlin-kapt'
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
final dependencyToFixKotlinLibVersionMismatch = "org.jetbrains.kotlin:kotlin-reflect:1.4.21"
implementation dependencyToFixKotlinLibVersionMismatch
implementation 'no.tornado:tornadofx:1.7.19'
implementation 'org.openjfx:javafx:11.0.2'
implementation 'org.openjfx:javafx-base:11.0.2'
implementation 'org.openjfx:javafx-controls:11.0.2'
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.0'
implementation "com.google.dagger:dagger:$daggerVersion"
annotationProcessor "com.google.dagger:dagger-compiler:$daggerVersion"
kapt "com.google.dagger:dagger-compiler:$daggerVersion"
}
compileKotlin {
kotlinOptions.jvmTarget = "11"
kotlinOptions {
freeCompilerArgs = ["-Xinline-classes"]
languageVersion = "1.4"
}
}
compileTestKotlin {
kotlinOptions.jvmTarget = "11"
kotlinOptions {
languageVersion = "1.4"
}
}