news-android/News-Android-App/build.gradle

89 lines
3.4 KiB
Groovy
Raw Normal View History

2014-07-04 09:34:27 +00:00
apply plugin: 'com.android.application'
android {
2014-06-23 19:41:56 +00:00
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
defaultConfig {
2014-06-23 19:41:56 +00:00
minSdkVersion Integer.parseInt(project.ANDROID_BUILD_MIN_SDK_VERSION)
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
2015-09-18 11:33:16 +00:00
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
2014-06-23 19:41:56 +00:00
buildTypes {
2015-08-20 15:02:23 +00:00
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
release {
2014-12-27 11:06:02 +00:00
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
2014-11-08 11:53:00 +00:00
lintOptions {
2015-04-07 18:59:39 +00:00
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
2014-11-08 11:53:00 +00:00
abortOnError false
}
2014-11-08 11:53:00 +00:00
sourceSets {
main {
aidl.srcDirs = ['src/main/java']
}
2014-11-08 11:53:00 +00:00
}
2015-07-18 09:10:59 +00:00
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
2015-09-18 11:37:48 +00:00
exclude 'LICENSE.txt'
2015-07-18 09:10:59 +00:00
}
2014-11-08 11:53:00 +00:00
}
dependencies {
2015-01-17 19:51:06 +00:00
// core android studio module
//compile project(':core')
2014-04-20 13:54:33 +00:00
// You must install or update the Google Repository through the SDK manager to use this dependency.
// The Google Repository (separate from the corresponding library) can be found in the Extras category.
// compile 'com.google.android.gms:play-services:4.2.42'
compile project(':Changeloglib:ChangeLogLibrary')
2014-06-06 07:19:59 +00:00
compile project(':ownCloud-Account-Importer')
2015-07-18 09:10:59 +00:00
compile project(':customtabs')
2015-09-18 11:33:16 +00:00
compile 'com.android.support:support-v4:23.0.1'
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:design:23.0.1'
compile 'com.android.support:palette-v7:23.0.1'
compile 'com.android.support:recyclerview-v7:23.0.1'
compile 'de.mrmaffen:holocircularprogressbar:1.0.1'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'
compile 'com.google.code.gson:gson:2.3.1'
2014-06-23 19:41:56 +00:00
compile 'com.jakewharton:butterknife:5.1.+'
compile 'com.sothree.slidinguppanel:library:3.1.1'
compile 'com.squareup.okhttp:okhttp:2.5.0'
2014-06-23 19:41:56 +00:00
compile 'de.greenrobot:eventbus:2.2.1'
2015-09-19 14:40:51 +00:00
compile 'de.greenrobot:greendao:2.0.0'
compile 'de.greenrobot:greendao-generator:2.0.0'
2015-08-21 22:44:16 +00:00
//compile 'org.freemarker:freemarker:2.3.23' //Required for DAO generation
2015-07-18 09:10:59 +00:00
compile 'org.apache.commons:commons-lang3:3.4'
testCompile 'org.robolectric:robolectric:3.0-rc3'
2015-01-17 19:51:06 +00:00
testCompile 'junit:junit:4.+'
2015-09-18 11:33:16 +00:00
androidTestCompile 'com.android.support:support-annotations:23.0.1'
androidTestCompile 'com.android.support.test:runner:0.3'
androidTestCompile 'com.android.support.test:rules:0.3'
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2'
androidTestCompile('com.android.support.test.espresso:espresso-contrib:2.2') {
// this library uses the newest app compat v22 but the espresso contrib still v21.
// you have to specifically exclude the older versions of the contrib library or
// there will be some conflicts
exclude group: 'com.android.support', module: 'appcompat'
exclude group: 'com.android.support', module: 'support-v4'
exclude module: 'recyclerview-v7'
}
2015-09-20 01:41:53 +00:00
compile project(':MaterialShowcaseView:library')
}