65 lines
1.6 KiB
Groovy
65 lines
1.6 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
final int versionMajor = 1
|
|
final int versionMinor = 1
|
|
final int versionPatch = 1
|
|
final int androidVersionCode = 7
|
|
|
|
final int targetSdk = rootProject.targetSdkVersion;
|
|
final int minSdkRed = rootProject.minSdkVersion;
|
|
final String semanticVersion = "${versionMajor}.${versionMinor}.${versionPatch}"
|
|
|
|
repositories {
|
|
maven {
|
|
url "https://repo.commonsware.com.s3.amazonaws.com"
|
|
}
|
|
|
|
maven {
|
|
url "https://s3.amazonaws.com/repo.commonsware.com"
|
|
}
|
|
|
|
maven {
|
|
url "https://dl.bintray.com/alt236/maven"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
|
compile project(':library')
|
|
|
|
compile 'com.jakewharton:butterknife:7.0.1'
|
|
compile 'com.android.support:appcompat-v7:24.2.0'
|
|
compile 'com.android.support:recyclerview-v7:24.2.0'
|
|
compile 'com.anthonycr.grant:permissions:1.0'
|
|
compile 'uk.co.alt236:easycursor-android:1.0.0'
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
testCompile 'org.mockito:mockito-all:1.9.5'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
buildToolsVersion rootProject.buildToolsVersion
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion minSdkRed
|
|
targetSdkVersion targetSdk
|
|
versionCode androidVersionCode
|
|
versionName semanticVersion
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
productFlavors {
|
|
}
|
|
}
|