Skip to content

Instantly share code, notes, and snippets.

@cosbor11
Created April 3, 2017 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cosbor11/76c89a3ff32f268555d1c9df5f6db6fb to your computer and use it in GitHub Desktop.
Save cosbor11/76c89a3ff32f268555d1c9df5f6db6fb to your computer and use it in GitHub Desktop.
Android Gradle build file for configuring Android application with Onyx Database
apply plugin: 'com.android.application'
repositories {
mavenCentral()
mavenLocal()
}
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
defaultConfig {
applicationId "com.onyxdevtools"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
jackOptions {
enabled true
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:25.3.0'
compile 'com.android.support:support-v4:25.3.0'
compile 'com.android.support:recyclerview-v7:25.3.0'
compile 'com.android.support:design:25.3.0'
compile 'com.onyxdevtools:onyx-android:1.3.0'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment