forked from objectbox/objectbox-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
36 lines (29 loc) · 1.06 KB
/
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
32
33
34
35
36
// See the root build script on how to add plugins and repositories.
plugins {
id("com.android.application")
}
android {
namespace "io.objectbox.example"
compileSdkVersion _compileSdkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
applicationId "io.objectbox.example"
minSdkVersion 19
targetSdkVersion _targetSdkVersion
versionCode 1
versionName "1.0"
}
}
dependencies {
// ObjectBox with Data Browser for debug builds, without for release builds.
// https://docs.objectbox.io/data-browser
debugImplementation "io.objectbox:objectbox-android-objectbrowser:$objectboxVersion"
releaseImplementation "io.objectbox:objectbox-android:$objectboxVersion"
testImplementation 'junit:junit:4.13.2'
}
// apply the plugin after the dependencies block so it does not automatically add objectbox-android
// which would conflict with objectbox-android-objectbrowser on debug builds
apply plugin: 'io.objectbox'