|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 22
|
|
|
|
buildToolsVersion "22.0.1"
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 14
|
|
|
|
targetSdkVersion 22
|
|
|
|
versionName "4.1.1a"
|
|
|
|
}
|
|
|
|
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 80
|
|
|
|
}
|
|
|
|
lightningLite {
|
|
|
|
buildConfigField "boolean", "FULL_VERSION", "false"
|
|
|
|
applicationId "acr.browser.barebones"
|
|
|
|
versionCode 81
|
|
|
|
}
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile 'com.android.support:palette-v7:22.2.1'
|
|
|
|
compile 'com.android.support:appcompat-v7:22.2.1'
|
|
|
|
compile 'com.android.support:design:22.2.1'
|
|
|
|
compile 'org.jsoup:jsoup:1.8.1'
|
|
|
|
compile 'org.lucasr.twowayview:twowayview:0.1.4'
|
|
|
|
// Only Lightning Plus needs the proxy libraries
|
|
|
|
lightningPlusCompile 'net.i2p.android:client:0.7'
|
|
|
|
lightningPlusCompile(project(':libnetcipher'))
|
|
|
|
// git submodule foreach git reset --hard
|
|
|
|
// git submodule update --remote
|
|
|
|
}
|