2019-03-17 09:11:36 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 28
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "org.petero.cuckoochess"
|
|
|
|
minSdkVersion 14
|
|
|
|
targetSdkVersion 28
|
|
|
|
versionCode 2
|
|
|
|
versionName "1.05"
|
|
|
|
|
2019-04-20 12:02:44 +02:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2019-03-17 09:11:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
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')
|
2019-04-21 15:54:01 +02:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.0.2'
|
2019-03-17 09:11:36 +01:00
|
|
|
testImplementation 'junit:junit:4.12'
|
2019-04-21 15:54:01 +02:00
|
|
|
androidTestImplementation 'androidx.test:runner:1.1.1'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
|
2019-03-17 09:11:36 +01:00
|
|
|
implementation project(':CuckooChessEngine')
|
|
|
|
}
|