2015-05-02 16:40:40 +00:00
|
|
|
apply plugin: 'com.android.application'
|
2015-09-03 13:33:40 +00:00
|
|
|
apply plugin: 'com.neenbedankt.android-apt'
|
2015-05-02 16:40:40 +00:00
|
|
|
|
|
|
|
android {
|
2015-08-22 13:08:39 +00:00
|
|
|
compileSdkVersion 23
|
2015-09-26 21:55:21 +00:00
|
|
|
buildToolsVersion "23.0.1"
|
2015-05-02 16:40:40 +00:00
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 14
|
2015-08-23 16:13:06 +00:00
|
|
|
targetSdkVersion 23
|
2015-09-29 11:42:56 +00:00
|
|
|
versionName "4.2.2a"
|
2015-05-02 16:40:40 +00:00
|
|
|
}
|
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 {
|
2015-05-25 16:55:35 +00:00
|
|
|
debug {
|
2015-07-18 18:30:41 +00:00
|
|
|
minifyEnabled false
|
|
|
|
shrinkResources false
|
2015-05-03 11:56:22 +00:00
|
|
|
proguardFiles 'proguard-project.txt'
|
2015-05-02 16:40:40 +00:00
|
|
|
}
|
2015-05-25 16:55:35 +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
|
|
|
}
|
|
|
|
}
|
2015-05-25 16:55:35 +00:00
|
|
|
productFlavors {
|
2015-06-05 04:03:02 +00:00
|
|
|
lightningPlus {
|
2015-05-25 16:55:35 +00:00
|
|
|
buildConfigField "boolean", "FULL_VERSION", "true"
|
|
|
|
applicationId "acr.browser.lightning"
|
2015-09-29 11:42:56 +00:00
|
|
|
versionCode 83
|
2015-05-25 16:55:35 +00:00
|
|
|
}
|
2015-06-05 04:03:02 +00:00
|
|
|
lightningLite {
|
2015-05-25 16:55:35 +00:00
|
|
|
buildConfigField "boolean", "FULL_VERSION", "false"
|
|
|
|
applicationId "acr.browser.barebones"
|
2015-09-29 11:42:56 +00:00
|
|
|
versionCode 84
|
2015-05-25 16:55:35 +00:00
|
|
|
}
|
|
|
|
}
|
2015-05-03 11:56:22 +00:00
|
|
|
lintOptions {
|
2015-09-26 21:55:21 +00:00
|
|
|
abortOnError true
|
2015-05-03 11:56:22 +00:00
|
|
|
}
|
2015-05-02 16:40:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2015-09-08 00:00:06 +00: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-12 02:14:26 +00:00
|
|
|
compile 'org.jsoup:jsoup:1.8.3'
|
2015-08-27 14:47:55 +00:00
|
|
|
compile 'com.squareup:otto:1.3.8'
|
2015-09-03 13:33:40 +00:00
|
|
|
compile 'com.google.dagger:dagger:2.0.1'
|
|
|
|
apt 'com.google.dagger:dagger-compiler:2.0.1'
|
2015-09-26 21:55:21 +00:00
|
|
|
compile 'com.jakewharton:butterknife:7.0.1'
|
2015-09-03 13:33:40 +00:00
|
|
|
|
2015-07-18 18:30:41 +00:00
|
|
|
// Only Lightning Plus needs the proxy libraries
|
2015-09-26 21:55:21 +00:00
|
|
|
compile 'net.i2p.android:client:0.7'
|
2015-09-03 13:33:40 +00:00
|
|
|
|
2015-09-09 02:24:15 +00:00
|
|
|
// 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
|
2015-09-26 21:55:21 +00:00
|
|
|
compile(project(':libnetcipher'))
|
2015-09-09 02:24:15 +00: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-08-21 20:57:19 +00:00
|
|
|
}
|