lightning-i2p/app/build.gradle

107 lines
2.6 KiB
Groovy
Raw Normal View History

2015-05-02 16:40:40 +00:00
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'com.getkeepsafe.dexcount'
2015-05-02 16:40:40 +00:00
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
2015-05-02 16:40:40 +00:00
defaultConfig {
minSdkVersion 14
targetSdkVersion 23
2016-03-24 02:05:44 +00:00
versionName "4.3.1"
generatedDensities = []
2015-05-02 16:40:40 +00:00
}
aaptOptions {
additionalParameters "--no-version-vectors"
}
2015-08-21 20:57:19 +00:00
sourceSets {
lightningPlus.setRoot('src/LightningPlus')
lightningLite.setRoot('src/LightningLite')
}
2015-05-02 16:40:40 +00:00
buildTypes {
debug {
minifyEnabled false
shrinkResources false
2015-05-03 11:56:22 +00:00
proguardFiles 'proguard-project.txt'
2015-05-02 16:40:40 +00:00
}
release {
2015-05-02 16:40:40 +00:00
minifyEnabled true
2015-05-04 16:07:15 +00:00
shrinkResources true
2015-05-03 11:56:22 +00:00
proguardFiles 'proguard-project.txt'
2015-05-02 16:40:40 +00:00
}
}
productFlavors {
lightningPlus {
buildConfigField "boolean", "FULL_VERSION", "true"
applicationId "acr.browser.lightning"
2016-03-24 02:05:44 +00:00
versionCode 86
}
lightningLite {
buildConfigField "boolean", "FULL_VERSION", "false"
applicationId "acr.browser.barebones"
2016-03-24 02:05:44 +00:00
versionCode 88
}
}
2015-05-03 11:56:22 +00:00
lintOptions {
abortOnError true
2015-05-03 11:56:22 +00:00
}
packagingOptions {
exclude '.readme'
}
2015-05-02 16:40:40 +00:00
}
dexcount {
includeClasses = false
includeFieldCount = false
printAsTree = true
orderByMethodCount = true
verbose = false
}
2015-05-02 16:40:40 +00:00
dependencies {
// support libraries
compile 'com.android.support:palette-v7:23.2.1'
compile 'com.android.support:appcompat-v7:23.2.1'
compile 'com.android.support:design:23.2.1'
compile 'com.android.support:recyclerview-v7:23.2.1'
compile 'com.android.support:support-v4:23.2.1'
// html parsing fo reading mode
2015-09-12 02:14:26 +00:00
compile 'org.jsoup:jsoup:1.8.3'
// event bus
compile 'com.squareup:otto:1.3.8'
// dependency injection
compile 'com.google.dagger:dagger:2.0.2'
apt 'com.google.dagger:dagger-compiler:2.0.2'
// view binding
compile 'com.jakewharton:butterknife:7.0.1'
// permissions
compile 'com.anthonycr.grant:permissions:1.1.2'
// proxy support
compile 'net.i2p.android:client:0.7'
// Use the following code to update the libnetcipher submodule
2015-07-18 21:59:43 +00:00
// git submodule foreach git reset --hard
// git submodule update --remote
compile project(':libnetcipher')
// memory leak analysis
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta1'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta1'
provided 'javax.annotation:jsr250-api:1.0'
2015-08-21 20:57:19 +00:00
}