You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
107 lines
2.6 KiB
107 lines
2.6 KiB
apply plugin: 'com.android.application' |
|
apply plugin: 'com.neenbedankt.android-apt' |
|
apply plugin: 'com.getkeepsafe.dexcount' |
|
|
|
android { |
|
compileSdkVersion 24 |
|
buildToolsVersion "24.0.1" |
|
|
|
defaultConfig { |
|
minSdkVersion 14 |
|
targetSdkVersion 24 |
|
versionName "4.3.3" |
|
vectorDrawables.useSupportLibrary = true |
|
} |
|
|
|
sourceSets { |
|
lightningPlus.setRoot('src/LightningPlus') |
|
lightningLite.setRoot('src/LightningLite') |
|
} |
|
|
|
buildTypes { |
|
debug { |
|
minifyEnabled false |
|
shrinkResources false |
|
proguardFiles 'proguard-project.txt' |
|
} |
|
|
|
release { |
|
minifyEnabled true |
|
shrinkResources true |
|
proguardFiles 'proguard-project.txt' |
|
} |
|
} |
|
|
|
productFlavors { |
|
lightningPlus { |
|
buildConfigField "boolean", "FULL_VERSION", "true" |
|
applicationId "acr.browser.lightning" |
|
versionCode 88 |
|
} |
|
|
|
lightningLite { |
|
buildConfigField "boolean", "FULL_VERSION", "false" |
|
applicationId "acr.browser.barebones" |
|
versionCode 90 |
|
} |
|
} |
|
|
|
lintOptions { |
|
abortOnError true |
|
} |
|
|
|
packagingOptions { |
|
exclude '.readme' |
|
} |
|
} |
|
|
|
dexcount { |
|
includeClasses = false |
|
includeFieldCount = false |
|
printAsTree = true |
|
orderByMethodCount = true |
|
verbose = false |
|
} |
|
|
|
dependencies { |
|
|
|
// support libraries |
|
compile 'com.android.support:palette-v7:24.2.1' |
|
compile 'com.android.support:appcompat-v7:24.2.1' |
|
compile 'com.android.support:design:24.2.1' |
|
compile 'com.android.support:recyclerview-v7:24.2.1' |
|
compile 'com.android.support:support-v4:24.2.1' |
|
|
|
// html parsing for reading mode |
|
compile 'org.jsoup:jsoup:1.9.2' |
|
|
|
// 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' |
|
provided 'javax.annotation:jsr250-api:1.0' |
|
|
|
// 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.8' |
|
|
|
// Use the following code to update the libnetcipher submodule |
|
// git submodule foreach git reset --hard |
|
// git submodule update --remote |
|
compile project(':libnetcipher') |
|
|
|
compile project(':bonsai') |
|
|
|
compile project(':animated-progress-bar') |
|
|
|
// memory leak analysis |
|
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4' |
|
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4' |
|
} |