From a14467eb47e1e9d31c094e4584b7927bb655cdc7 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Thu, 13 Feb 2014 22:42:44 +0100 Subject: add missing files --- vpndialogxposed/build.gradle | 64 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 vpndialogxposed/build.gradle (limited to 'vpndialogxposed') diff --git a/vpndialogxposed/build.gradle b/vpndialogxposed/build.gradle new file mode 100644 index 00000000..f073cee5 --- /dev/null +++ b/vpndialogxposed/build.gradle @@ -0,0 +1,64 @@ +buildscript { + repositories { + mavenCentral() + } + dependencies { + classpath 'com.android.tools.build:gradle:0.5.+' + } +} + +repositories { + mavenCentral() +} + +configurations { + provided +} +apply plugin: 'android' + +dependencies { + compile 'com.intellij:annotations:12.0' + provided files ('libs/XposedBridgeApi.jar') +} + + +android { + compileSdkVersion 18 + buildToolsVersion "18.1" + + defaultConfig { + minSdkVersion 14 + targetSdkVersion 17 + versionCode = 3 + versionName = "0.3" + + } + + signingConfigs { + release + } + + buildTypes { + release { + signingConfig signingConfigs.release + } + } +} + + + +// ~/.gradle/gradle.properties +if (project.hasProperty('keystoreFile') && + project.hasProperty('keystorePassword') && + project.hasProperty('keystoreAliasPassword')) { + android.signingConfigs.release.storeFile = file(keystoreFile) + android.signingConfigs.release.storePassword = keystorePassword + android.signingConfigs.release.keyPassword = keystoreAliasPassword + android.signingConfigs.release.keyAlias = keystoreAliasXposed +} else { + android.buildTypes.release.signingConfig = null +} + +android.applicationVariants.all { variant -> + variant.javaCompile.classpath += configurations.provided +} -- cgit v1.2.3