File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
examples/idea-examples/titanic Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,16 @@ application.mainClass.set("org.jetbrains.kotlinx.dataframe.examples.titanic.ml.T
12
12
13
13
dependencies {
14
14
implementation(project(" :core" ))
15
- implementation(" org.jetbrains.kotlinx:kotlin-deeplearning-api:0.4.0" )
16
- implementation(" org.jetbrains.kotlinx:kotlin-deeplearning-dataset:0.4.0" )
15
+ implementation(" org.jetbrains.kotlinx:kotlin-deeplearning-api:0.5.1" )
16
+ implementation(" org.jetbrains.kotlinx:kotlin-deeplearning-impl:0.5.1" )
17
+ implementation(" org.jetbrains.kotlinx:kotlin-deeplearning-tensorflow:0.5.1" )
18
+ implementation(" org.jetbrains.kotlinx:kotlin-deeplearning-dataset:0.5.1" )
17
19
}
18
20
19
21
// Make IDE aware of the generated code:
20
22
kotlin.sourceSets.getByName(" main" ).kotlin.srcDir(" build/generated/ksp/main/kotlin/" )
21
23
24
+
22
25
dataframes {
23
26
schema {
24
27
data = " src/main/resources/titanic.csv"
@@ -28,3 +31,12 @@ dataframes {
28
31
}
29
32
}
30
33
}
34
+
35
+ tasks.withType< org.jetbrains.kotlin.gradle.tasks.KotlinCompile > {
36
+ kotlinOptions.jvmTarget = " 11"
37
+ }
38
+
39
+ tasks.withType<JavaCompile > {
40
+ sourceCompatibility = JavaVersion .VERSION_11 .toString()
41
+ targetCompatibility = JavaVersion .VERSION_11 .toString()
42
+ }
You can’t perform that action at this time.
0 commit comments