diff options
-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 +} |