Twidere-App-Android-Twitter.../twidere/build.gradle

84 lines
3.0 KiB
Groovy
Raw Normal View History

2014-07-03 07:48:39 +02:00
apply plugin: 'com.android.application'
android {
compileSdkVersion 19
2014-07-27 14:58:15 +02:00
buildToolsVersion '19.1.0'
2014-07-03 07:48:39 +02:00
defaultConfig {
applicationId "org.mariotaku.twidere"
minSdkVersion 14
targetSdkVersion 19
versionCode 95
versionName "0.2.9.14"
}
2014-07-27 14:58:15 +02:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
2014-07-06 01:49:12 +02:00
signingConfigs {
debug {
File signingPropFile = project.rootProject.file('signing.properties')
if (signingPropFile.exists()) {
Properties signingProp = new Properties()
signingProp.load(signingPropFile.newDataInputStream())
storeFile file(signingProp.get("twidere.debug.storeFile"))
storePassword signingProp.get("twidere.debug.storePassword")
keyAlias signingProp.get("twidere.debug.keyAlias")
keyPassword signingProp.get("twidere.debug.keyPassword")
}
}
release {
File signingPropFile = project.rootProject.file('signing.properties')
if (signingPropFile.exists()) {
Properties signingProp = new Properties()
signingProp.load(signingPropFile.newDataInputStream())
storeFile file(signingProp.get("twidere.release.storeFile"))
storePassword signingProp.get("twidere.release.storePassword")
keyAlias signingProp.get("twidere.release.keyAlias")
keyPassword signingProp.get("twidere.release.keyPassword")
}
}
}
2014-07-03 09:58:09 +02:00
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
}
2014-07-03 07:48:39 +02:00
buildTypes {
2014-07-06 01:49:12 +02:00
debug {
signingConfig signingConfigs.debug
}
2014-07-03 07:48:39 +02:00
release {
2014-07-06 01:49:12 +02:00
signingConfig signingConfigs.release
2014-07-03 07:48:39 +02:00
}
}
2014-07-06 01:49:12 +02:00
lintOptions {
abortOnError false
}
2014-07-03 07:48:39 +02:00
}
dependencies {
compile 'com.android.support:support-v13:20.0.0'
2014-09-14 13:47:35 +02:00
compile 'com.google.android.gms:play-services:+'
compile 'com.negusoft.holoaccent:library:1.0.1'
2014-07-03 07:48:39 +02:00
compile 'com.etsy.android.grid:library:1.0.5'
compile 'com.sothree.slidinguppanel:library:2.0.0'
2014-07-06 01:49:12 +02:00
compile 'it.sephiroth.android.library.imagezoom:imagezoom:+'
2014-07-03 07:48:39 +02:00
compile 'com.twitter:twitter-text:1.9.5'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.2'
compile 'org.apache.httpcomponents:httpclient-android:4.3.3'
compile 'org.apache.httpcomponents:httpmime:4.3.3'
compile 'ch.acra:acra:4.5.0'
compile 'com.google.android.apps.dashclock:dashclock-api:2.0.0'
2014-07-03 09:58:09 +02:00
compile project(':SlidingMenu')
compile project(':DragSortListView')
compile project(':MenuComponent')
compile project(':RefreshNow')
2014-07-03 07:48:39 +02:00
compile fileTree(dir: 'libs', include: ['*.jar'])
}