diff options
author | Arne Schwabe <arne@rfc2549.org> | 2014-02-13 22:42:44 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2014-02-13 22:42:44 +0100 |
commit | a14467eb47e1e9d31c094e4584b7927bb655cdc7 (patch) | |
tree | 8b122bc553ec509e52b2c6e743b50f374faa779d /vpndialogxposed | |
parent | b87a9affb9e565027ba11ba509d7bd9b0f2b5e41 (diff) |
add missing files
Diffstat (limited to 'vpndialogxposed')
-rw-r--r-- | vpndialogxposed/build.gradle | 64 |
1 files changed, 64 insertions, 0 deletions
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 +} |