-
Notifications
You must be signed in to change notification settings - Fork 95
/
build.gradle
31 lines (24 loc) · 916 Bytes
/
build.gradle
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
// See the root build script on how to add plugins and repositories.
plugins {
id("java")
id("application")
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
application {
mainClass.set("io.objectbox.example.Main")
}
dependencies {
implementation "io.objectbox:objectbox-java:$objectboxVersion"
// Optional: include all native libraries for distribution
// (only the one for the current platform is added by the plugin).
implementation "io.objectbox:objectbox-linux:$objectboxVersion"
implementation "io.objectbox:objectbox-macos:$objectboxVersion"
implementation "io.objectbox:objectbox-windows:$objectboxVersion"
testImplementation 'junit:junit:4.13.2'
}
// Apply the plugin after the dependencies block so it detects added
// ObjectBox dependencies and does not replace them.
apply plugin: 'io.objectbox'