File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed
tests/objectbox-java-test Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,22 @@ buildscript {
28
28
objectboxNativeDependency = " io.objectbox:objectbox-$objectboxPlatform :$ob_native_version "
29
29
println " ObjectBox native dependency: $objectboxNativeDependency "
30
30
}
31
+
32
+ ext. kotlin_version = ' 1.3.61'
33
+ ext. dokka_version = ' 0.10.1'
31
34
ext. junit_version = ' 4.13'
32
35
33
36
repositories {
34
37
mavenCentral()
35
38
jcenter()
36
39
}
40
+
41
+ dependencies {
42
+ // Add Kotlin plugins once. Apply in sub-projects as required.
43
+ classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
44
+ classpath " org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version "
45
+ }
46
+
37
47
}
38
48
39
49
allprojects {
Original file line number Diff line number Diff line change @@ -3,18 +3,6 @@ version= rootProject.version
3
3
4
4
buildscript {
5
5
ext. javadocDir = " $buildDir /docs/javadoc"
6
- ext. kotlin_version = ' 1.3.61'
7
- ext. dokka_version = ' 0.10.1'
8
-
9
- repositories {
10
- mavenCentral()
11
- jcenter()
12
- }
13
-
14
- dependencies {
15
- classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
16
- classpath " org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version "
17
- }
18
6
}
19
7
20
8
apply plugin : ' kotlin'
Original file line number Diff line number Diff line change 1
1
apply plugin : ' java'
2
+ apply plugin : ' kotlin'
2
3
3
4
uploadArchives. enabled = false
4
5
@@ -23,6 +24,7 @@ repositories {
23
24
24
25
dependencies {
25
26
compile project(' :objectbox-java' )
27
+ compile project(' :objectbox-kotlin' )
26
28
compile ' org.greenrobot:essentials:3.0.0-RC1'
27
29
28
30
// Check flag to use locally compiled version to avoid dependency cycles
You can’t perform that action at this time.
0 commit comments