2014-07-03 07:48:39 +02:00
|
|
|
apply plugin: 'com.android.application'
|
2015-01-11 10:28:45 +01:00
|
|
|
apply from: rootProject.file('signing.gradle')
|
2014-07-03 07:48:39 +02:00
|
|
|
|
|
|
|
android {
|
2014-10-22 09:36:41 +02:00
|
|
|
compileSdkVersion 21
|
2014-12-11 07:38:40 +01:00
|
|
|
buildToolsVersion '21.1.2'
|
2014-07-03 07:48:39 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "org.mariotaku.twidere"
|
2015-01-23 17:09:03 +01:00
|
|
|
minSdkVersion 14
|
2015-01-03 16:16:50 +01:00
|
|
|
targetSdkVersion 21
|
|
|
|
versionCode 99
|
2014-10-22 09:36:41 +02:00
|
|
|
versionName "0.3.0-dev"
|
2015-01-17 19:58:29 +01:00
|
|
|
multiDexEnabled true
|
2014-07-03 07:48:39 +02:00
|
|
|
}
|
2014-07-27 14:58:15 +02:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
|
|
}
|
2014-12-24 05:39:21 +01: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-06 01:49:12 +02:00
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
2014-10-26 14:38:48 +01:00
|
|
|
productFlavors {
|
2014-11-03 16:44:32 +01:00
|
|
|
google {
|
2015-01-22 12:16:22 +01:00
|
|
|
versionName = versionName + '-google'
|
2014-11-03 16:44:32 +01:00
|
|
|
}
|
|
|
|
fdroid {
|
2015-01-22 12:16:22 +01:00
|
|
|
versionName = versionName + '-fdroid'
|
2014-11-03 16:44:32 +01:00
|
|
|
}
|
2014-10-26 14:38:48 +01:00
|
|
|
}
|
2014-07-03 07:48:39 +02:00
|
|
|
}
|
|
|
|
|
2015-01-04 16:12:10 +01:00
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
mavenCentral()
|
|
|
|
maven { url 'https://repo.commonsware.com.s3.amazonaws.com' }
|
|
|
|
}
|
|
|
|
|
2014-07-03 07:48:39 +02:00
|
|
|
dependencies {
|
2014-11-16 14:27:42 +01:00
|
|
|
// wearApp project(':twidere.wear')
|
2015-01-11 10:28:45 +01:00
|
|
|
compile 'com.android.support:multidex:1.0.1'
|
2014-12-11 07:38:40 +01:00
|
|
|
compile 'com.android.support:support-v13:21.0.3'
|
2015-01-17 19:58:29 +01:00
|
|
|
compile 'com.android.support:appcompat-v7:21.0.3'
|
2014-12-11 07:38:40 +01:00
|
|
|
compile 'com.android.support:cardview-v7:21.0.3'
|
|
|
|
compile 'com.android.support:recyclerview-v7:21.0.3'
|
|
|
|
compile 'com.android.support:palette-v7:21.0.3'
|
2014-12-07 16:13:07 +01:00
|
|
|
compile 'com.sothree.slidinguppanel:library:2.0.4'
|
2015-01-08 10:13:20 +01:00
|
|
|
compile 'com.twitter:twitter-text:1.9.9'
|
2014-10-26 14:38:48 +01:00
|
|
|
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3'
|
|
|
|
compile 'org.apache.httpcomponents:httpclient-android:4.3.5'
|
|
|
|
compile 'org.apache.httpcomponents:httpmime:4.3.5'
|
2015-01-14 09:47:51 +01:00
|
|
|
compile 'org.apache.commons:commons-csv:1.1'
|
2014-07-03 07:48:39 +02:00
|
|
|
compile 'com.google.android.apps.dashclock:dashclock-api:2.0.0'
|
2014-12-07 16:13:07 +01:00
|
|
|
compile 'com.squareup:otto:1.3.5'
|
2015-01-04 16:12:10 +01:00
|
|
|
compile 'dnsjava:dnsjava:2.1.6'
|
|
|
|
compile 'com.commonsware.cwac:merge:1.1.1'
|
2015-01-14 09:47:51 +01:00
|
|
|
compile 'com.diegocarloslima:byakugallery:0.1.0'
|
2015-01-18 17:15:38 +01:00
|
|
|
compile 'com.rengwuxian.materialedittext:library:1.8.2'
|
2015-01-24 19:07:32 +01:00
|
|
|
compile 'com.pnikosis:materialish-progress:1.4'
|
2015-01-23 17:09:03 +01:00
|
|
|
compile 'com.squareup.okhttp:okhttp:2.2.0'
|
2014-12-11 07:38:40 +01:00
|
|
|
googleCompile 'com.google.android.gms:play-services:6.5.87'
|
2015-01-14 09:47:51 +01:00
|
|
|
googleCompile 'com.google.maps.android:android-maps-utils:0.3.4'
|
|
|
|
fdroidCompile 'org.osmdroid:osmdroid-android:4.3'
|
|
|
|
fdroidCompile 'org.slf4j:slf4j-simple:1.7.10'
|
2015-01-11 10:28:45 +01:00
|
|
|
compile project(':twidere.component.common')
|
2015-01-06 16:46:07 +01:00
|
|
|
compile project(':twidere.component.nyan')
|
2014-07-03 09:58:09 +02:00
|
|
|
compile project(':SlidingMenu')
|
|
|
|
compile project(':DragSortListView')
|
2014-11-25 16:15:05 +01:00
|
|
|
compile project(':MessageBubbleView')
|
2015-01-01 11:38:34 +01:00
|
|
|
compile fileTree(dir: 'libs/main', include: ['*.jar'])
|
|
|
|
googleCompile fileTree(dir: 'libs/google', include: ['*.jar'])
|
2014-07-03 07:48:39 +02:00
|
|
|
}
|