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: Adjusting ignored files and updating support lib Created May 3, 2017, 1:43 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
« no previous file with comments | « adblockplussbrowser/AndroidManifest.xml ('k') | adblockplussbrowser/build.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
+}
« no previous file with comments | « adblockplussbrowser/AndroidManifest.xml ('k') | adblockplussbrowser/build.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld