lightning-i2p/app/build.gradle

109 lines
2.9 KiB
Groovy
Raw Normal View History

2015-05-02 16:40:40 +00:00
apply plugin: 'com.android.application'
apply plugin: 'com.getkeepsafe.dexcount'
2015-05-02 16:40:40 +00:00
android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
2015-05-02 16:40:40 +00:00
defaultConfig {
minSdkVersion 14
targetSdkVersion 25
2016-11-30 01:16:20 +00:00
versionName "4.4.2"
2016-07-31 18:50:03 +00:00
vectorDrawables.useSupportLibrary = true
}
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-11-30 01:16:20 +00:00
versionCode 91
}
lightningLite {
buildConfigField "boolean", "FULL_VERSION", "false"
applicationId "acr.browser.barebones"
2016-11-30 01:16:20 +00:00
versionCode 93
}
}
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
format = "tree"
orderByMethodCount = true
verbose = false
}
2015-05-02 16:40:40 +00:00
dependencies {
// support libraries
def supportLibVersion = '25.3.1'
2017-03-19 02:56:30 +00:00
compile "com.android.support:palette-v7:$supportLibVersion"
compile "com.android.support:appcompat-v7:$supportLibVersion"
compile "com.android.support:design:$supportLibVersion"
compile "com.android.support:recyclerview-v7:$supportLibVersion"
compile "com.android.support:support-v4:$supportLibVersion"
2016-05-20 02:52:52 +00:00
// html parsing for reading mode
2017-03-19 02:56:30 +00:00
compile 'org.jsoup:jsoup:1.10.2'
// dependency injection
2017-04-23 00:57:59 +00:00
def daggerVersion = '2.10'
2017-03-19 02:56:30 +00:00
compile "com.google.dagger:dagger:$daggerVersion"
2017-04-23 00:46:41 +00:00
annotationProcessor "com.google.dagger:dagger-compiler:$daggerVersion"
2016-05-20 02:52:52 +00:00
provided 'javax.annotation:jsr250-api:1.0'
// view binding
2017-04-23 00:46:41 +00:00
compile 'com.jakewharton:butterknife:8.5.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
// permissions
compile 'com.anthonycr.grant:permissions:1.1.2'
// proxy support
2016-04-18 17:58:54 +00:00
compile 'net.i2p.android:client:0.8'
2017-04-17 20:45:42 +00:00
compile 'com.squareup.okhttp3:okhttp:3.7.0'
// tor proxy
2017-03-19 02:56:30 +00:00
def netcipherVersion = '2.0.0-alpha1'
compile "info.guardianproject.netcipher:netcipher:$netcipherVersion"
compile "info.guardianproject.netcipher:netcipher-webkit:$netcipherVersion"
compile 'com.anthonycr.bonsai:bonsai:1.1.0'
2016-07-12 01:51:45 +00:00
compile 'com.anthonycr.progress:animated-progress:1.0'
2016-07-22 03:29:33 +00:00
// memory leak analysis
2017-03-19 02:56:30 +00:00
def leakCanaryVersion = '1.5'
debugCompile "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
releaseCompile "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
2015-08-21 20:57:19 +00:00
}