2015-05-02 12:40:40 -04:00
|
|
|
apply plugin: 'com.android.application'
|
2015-09-03 15:33:40 +02:00
|
|
|
apply plugin: 'com.neenbedankt.android-apt'
|
2015-10-14 21:21:51 -04:00
|
|
|
apply plugin: 'com.getkeepsafe.dexcount'
|
2015-05-02 12:40:40 -04:00
|
|
|
|
|
|
|
android {
|
2015-08-22 09:08:39 -04:00
|
|
|
compileSdkVersion 23
|
2015-09-26 17:55:21 -04:00
|
|
|
buildToolsVersion "23.0.1"
|
2015-05-02 12:40:40 -04:00
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 14
|
2015-08-23 12:13:06 -04:00
|
|
|
targetSdkVersion 23
|
2015-10-07 22:07:22 -04:00
|
|
|
versionName "4.2.3.1"
|
2015-05-02 12:40:40 -04:00
|
|
|
}
|
2015-08-21 16:57:19 -04:00
|
|
|
sourceSets {
|
|
|
|
lightningPlus.setRoot('src/LightningPlus')
|
|
|
|
lightningLite.setRoot('src/LightningLite')
|
|
|
|
}
|
2015-05-02 12:40:40 -04:00
|
|
|
buildTypes {
|
2015-05-25 12:55:35 -04:00
|
|
|
debug {
|
2015-07-18 14:30:41 -04:00
|
|
|
minifyEnabled false
|
|
|
|
shrinkResources false
|
2015-05-03 13:56:22 +02:00
|
|
|
proguardFiles 'proguard-project.txt'
|
2015-05-02 12:40:40 -04:00
|
|
|
}
|
2015-05-25 12:55:35 -04:00
|
|
|
|
|
|
|
release {
|
2015-05-02 12:40:40 -04:00
|
|
|
minifyEnabled true
|
2015-05-04 12:07:15 -04:00
|
|
|
shrinkResources true
|
2015-05-03 13:56:22 +02:00
|
|
|
proguardFiles 'proguard-project.txt'
|
2015-05-02 12:40:40 -04:00
|
|
|
}
|
|
|
|
}
|
2015-05-25 12:55:35 -04:00
|
|
|
productFlavors {
|
2015-06-05 00:03:02 -04:00
|
|
|
lightningPlus {
|
2015-05-25 12:55:35 -04:00
|
|
|
buildConfigField "boolean", "FULL_VERSION", "true"
|
|
|
|
applicationId "acr.browser.lightning"
|
2015-10-07 22:07:22 -04:00
|
|
|
versionCode 85
|
2015-05-25 12:55:35 -04:00
|
|
|
}
|
2015-06-05 00:03:02 -04:00
|
|
|
lightningLite {
|
2015-05-25 12:55:35 -04:00
|
|
|
buildConfigField "boolean", "FULL_VERSION", "false"
|
|
|
|
applicationId "acr.browser.barebones"
|
2015-10-07 22:07:22 -04:00
|
|
|
versionCode 86
|
2015-05-25 12:55:35 -04:00
|
|
|
}
|
|
|
|
}
|
2015-05-03 13:56:22 +02:00
|
|
|
lintOptions {
|
2015-09-30 22:27:12 -04:00
|
|
|
abortOnError false
|
2015-05-03 13:56:22 +02:00
|
|
|
}
|
2015-05-02 12:40:40 -04:00
|
|
|
}
|
|
|
|
|
2015-10-14 21:21:51 -04:00
|
|
|
dexcount {
|
|
|
|
includeClasses = false
|
|
|
|
includeFieldCount = false
|
|
|
|
printAsTree = true
|
|
|
|
orderByMethodCount = true
|
|
|
|
verbose = false
|
|
|
|
}
|
|
|
|
|
2015-05-02 12:40:40 -04:00
|
|
|
dependencies {
|
2015-09-07 20:00:06 -04:00
|
|
|
compile 'com.android.support:palette-v7:23.0.1'
|
|
|
|
compile 'com.android.support:appcompat-v7:23.0.1'
|
|
|
|
compile 'com.android.support:design:23.0.1'
|
|
|
|
compile 'com.android.support:recyclerview-v7:23.0.1'
|
2015-09-11 22:14:26 -04:00
|
|
|
compile 'org.jsoup:jsoup:1.8.3'
|
2015-08-27 16:47:55 +02:00
|
|
|
compile 'com.squareup:otto:1.3.8'
|
2015-09-03 15:33:40 +02:00
|
|
|
compile 'com.google.dagger:dagger:2.0.1'
|
|
|
|
apt 'com.google.dagger:dagger-compiler:2.0.1'
|
2015-09-26 17:55:21 -04:00
|
|
|
compile 'com.jakewharton:butterknife:7.0.1'
|
2015-09-03 15:33:40 +02:00
|
|
|
|
2015-09-26 17:55:21 -04:00
|
|
|
compile 'net.i2p.android:client:0.7'
|
2015-09-03 15:33:40 +02:00
|
|
|
|
2015-09-08 22:24:15 -04:00
|
|
|
// Use the following code to update the libnetcipher submodule
|
2015-07-18 17:59:43 -04:00
|
|
|
// git submodule foreach git reset --hard
|
|
|
|
// git submodule update --remote
|
2015-09-26 17:55:21 -04:00
|
|
|
compile(project(':libnetcipher'))
|
2015-09-08 22:24:15 -04:00
|
|
|
|
|
|
|
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1'
|
|
|
|
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3.1'
|
|
|
|
|
|
|
|
provided 'javax.annotation:jsr250-api:1.0'
|
2015-10-14 21:21:51 -04:00
|
|
|
|
2015-08-21 16:57:19 -04:00
|
|
|
}
|