You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Clover/Clover/app/build.gradle

74 lines
1.6 KiB

apply plugin: 'android'
android {
compileSdkVersion 19
buildToolsVersion "19.1.0"
defaultConfig {
minSdkVersion 14
targetSdkVersion 19
versionName "v1.1.2"
versionCode 26
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
/*
If you want to sign releases, make a file in app/keys.properties with the following content:
keystoreFile=yourkey.store
keystorePass=pass
keyAlias=alias
keyPass=pass
*/
File f = file('keys.properties')
boolean doSign = f.exists();
if (doSign) {
Properties props = new Properties()
props.load(new FileInputStream(f))
signingConfigs {
release {
storeFile file(props['keystoreFile'])
storePassword props['keystorePass']
keyAlias props['keyAlias']
keyPassword props['keyPass']
}
}
}
buildTypes {
release {
if (doSign) {
signingConfig signingConfigs.release
}
}
beta.initWith(buildTypes.release)
beta {
versionNameSuffix " Beta"
}
debug {
versionNameSuffix " Debug"
}
}
sourceSets {
beta.java.srcDirs = ['src/release/java']
}
}
dependencies {
compile 'org.jsoup:jsoup:1.7.3'
compile 'com.j256.ormlite:ormlite-core:4.48'
compile 'com.j256.ormlite:ormlite-android:4.48'
compile 'com.android.support:support-v13:18.0.+'
compile files('libs/httpclientandroidlib-1.2.1.jar')
}