Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: adblockplussbrowser/build.gradle

Issue 29424711: Issue 4777 - Add support for Gradle build (Closed)
Patch Set: Created April 28, 2017, 2:41 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: adblockplussbrowser/build.gradle
===================================================================
new file mode 100644
--- /dev/null
+++ b/adblockplussbrowser/build.gradle
@@ -0,0 +1,41 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion rootProject.ext.compileSdkVersion
+ buildToolsVersion rootProject.ext.buildToolsVersion
+
+ compileOptions {
+ sourceCompatibility = rootProject.ext.sourceCompatibilityVersion
+ targetCompatibility = rootProject.ext.targetCompatibilityVersion
+ }
+
+ defaultConfig {
+ applicationId "org.adblockplus.adblockplussbrowser"
+ minSdkVersion rootProject.ext.minSdkVersion
+ targetSdkVersion rootProject.ext.targetSdkVersion
+ versionCode 9
+ versionName '1.0.4'
+ }
+
+ sourceSets {
+ main {
+ manifest.srcFile 'AndroidManifest.xml'
+ java.srcDirs = ['src']
+ res.srcDirs = ['res']
+ }
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled true
+ proguardFiles getDefaultProguardFile('proguard-android.txt')
+ lintOptions {
+ disable 'MissingTranslation'
+ }
+ }
+ }
+}
+
+dependencies {
+ compile "com.android.support:support-v4:$rootProject.ext.androidSupportLibraryVersion"
anton 2017/04/29 10:23:25 won't it conflict with existing jar files in 'libs
diegocarloslima 2017/04/29 12:03:21 No, because the libs folder isn't being used by Gr
+}

Powered by Google App Engine
This is Rietveld