mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-23 11:31:33 +01:00
46 lines
1.3 KiB
Groovy
46 lines
1.3 KiB
Groovy
|
apply plugin: 'com.android.application'
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 28
|
||
|
|
||
|
defaultConfig {
|
||
|
applicationId "org.petero.cuckoochess"
|
||
|
minSdkVersion 14
|
||
|
targetSdkVersion 28
|
||
|
versionCode 2
|
||
|
versionName "1.05"
|
||
|
|
||
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||
|
}
|
||
|
|
||
|
if(project.hasProperty("RELEASE_STORE_FILE")) {
|
||
|
signingConfigs {
|
||
|
release {
|
||
|
storeFile file(RELEASE_STORE_FILE)
|
||
|
storePassword RELEASE_STORE_PASSWORD
|
||
|
keyAlias RELEASE_KEY_ALIAS
|
||
|
keyPassword RELEASE_KEY_PASSWORD
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
if(project.hasProperty("RELEASE_STORE_FILE")) {
|
||
|
signingConfig signingConfigs.release
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||
|
implementation 'com.android.support:appcompat-v7:28.0.0'
|
||
|
testImplementation 'junit:junit:4.12'
|
||
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
||
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
||
|
implementation project(':CuckooChessEngine')
|
||
|
}
|