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

Unified Diff: libadblockplus-android-tests/build.gradle

Issue 29349720: Issue 4324 - Add Gradle build config (Closed)
Patch Set: added wrapper script for Windows Created Sept. 15, 2016, 12: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
Index: libadblockplus-android-tests/build.gradle
diff --git a/libadblockplus-android-tests/build.gradle b/libadblockplus-android-tests/build.gradle
new file mode 100644
index 0000000000000000000000000000000000000000..82ab52e0ab7fac22c34661e9b8b7f0fe96d5a574
--- /dev/null
+++ b/libadblockplus-android-tests/build.gradle
@@ -0,0 +1,50 @@
+apply plugin: 'com.android.application'
+
+allprojects {
+ repositories {
+ mavenLocal()
+ mavenCentral()
+ }
+}
+
+repositories {
+ mavenLocal()
+ mavenCentral()
+}
+
+android {
+ compileSdkVersion 16
+ buildToolsVersion "22.0.1"
+
+ defaultConfig {
+ applicationId "org.adblockplus.libadblockplus.tests"
+ minSdkVersion 9
+ targetSdkVersion 16
+ versionCode 359
+ versionName "1.3"
diegocarloslima 2016/11/03 15:13:23 The same way we changed versionCode and versionNam
anton 2016/11/07 07:05:34 We did not change it yet, it will be changed in an
diegocarloslima 2016/11/07 13:05:06 Acknowledged.
+
+ testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+ }
+
+ sourceSets {
+ main {
+ manifest.srcFile 'AndroidManifest.xml'
+ }
+
+ androidTest {
+ manifest.srcFile 'AndroidManifest.xml'
+ java.srcDirs = ['src']
+
+ jni {
+ dependencies {
+ project ":libadblockplus-android"
+ }
+ }
+ }
+ }
+}
+
+dependencies {
+ androidTestCompile project(':libadblockplus-android')
+ androidTestCompile fileTree(include: ['*.jar'], dir: 'libs')
+}

Powered by Google App Engine
This is Rietveld