lightning-i2p/app/build.gradle

112 lines
3.2 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 {
2017-06-09 02:39:16 +00:00
compileSdkVersion project.targetSdkVersion
buildToolsVersion project.buildToolsVersion
2015-05-02 16:40:40 +00:00
defaultConfig {
2017-06-09 02:39:16 +00:00
minSdkVersion project.minSdkVersion
targetSdkVersion project.targetSdkVersion
2017-06-04 23:19:10 +00:00
versionName project.versionName
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", "Boolean.parseBoolean(\"true\")"
applicationId "acr.browser.lightning"
2017-06-04 23:19:10 +00:00
versionCode project.versionCode_plus
}
lightningLite {
buildConfigField "boolean", "FULL_VERSION", "Boolean.parseBoolean(\"false\")"
applicationId "acr.browser.barebones"
2017-06-04 23:19:10 +00:00
versionCode project.versionCode_lite
}
}
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 {
2017-06-14 03:11:44 +00:00
testCompile 'junit:junit:4.12'
// support libraries
2017-06-09 03:17:04 +00:00
def supportLibVersion = '25.4.0'
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-06-02 02:16:45 +00:00
def daggerVersion = '2.11'
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-06-03 22:50:36 +00:00
def butterknifeVersion = '8.6.0'
compile "com.jakewharton:butterknife:$butterknifeVersion"
annotationProcessor "com.jakewharton:butterknife-compiler:$butterknifeVersion"
// 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-06-03 22:50:36 +00:00
compile 'com.squareup.okhttp3:okhttp:3.8.0'
2017-04-17 20:45:42 +00:00
// 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-05-08 04:05:44 +00:00
def leakCanaryVersion = '1.5.1'
2017-03-19 02:56:30 +00:00
debugCompile "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
releaseCompile "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
2017-05-08 04:05:44 +00:00
}