diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 7350d6a..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "libraries/libsuperuser"] - path = libraries/libsuperuser - url = https://github.com/Chainfire/libsuperuser.git diff --git a/app/app.iml b/app/app.iml deleted file mode 100644 index 48dea94..0000000 --- a/app/app.iml +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/build.gradle b/app/build.gradle index 1e8cea2..7731352 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,33 +1,20 @@ -buildscript { - repositories { - mavenCentral() - } - - dependencies { - classpath 'com.alexvasilkov:android_sign:0.2+' - } -} - -import java.util.regex.Pattern - apply plugin: 'com.android.application' -apply plugin: 'android_sign' repositories { - mavenCentral() + jcenter() } dependencies { - compile 'com.android.support:appcompat-v7:21.0.0' + compile 'com.android.support:appcompat-v7:22.2.1' } android { - compileSdkVersion 21 - buildToolsVersion '19.1.0' + compileSdkVersion 22 + buildToolsVersion '22.0.1' defaultConfig { applicationId 'com.nutomic.zertman' minSdkVersion 19 - targetSdkVersion 21 + targetSdkVersion 22 versionCode 3 versionName '1.0.2' testApplicationId 'com.nutomic.zertman.test' @@ -36,35 +23,14 @@ android { testFunctionalTest true } - signingConfigs { - release { - // Android Studio does not pass environment variables. - // This means you have to use the command line for release builds. - def ks = System.getenv("KEYSTORE") - def ka = System.getenv("KEY_ALIAS") - if (ks != null && ka != null) { - storeFile file(ks) - keyAlias ka - } - } - } - buildTypes { debug { applicationIdSuffix ".debug" debuggable true } - release { - signingConfig signingConfigs.release - } - } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_7 - targetCompatibility JavaVersion.VERSION_1_7 } } dependencies { - compile project(':libsuperuser') + compile 'eu.chainfire:libsuperuser:1.0.0.201504231659' } diff --git a/build.gradle b/build.gradle index a1d991f..cf94080 100644 --- a/build.gradle +++ b/build.gradle @@ -1,19 +1,15 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. +apply plugin: 'com.github.ben-manes.versions' buildscript { repositories { - mavenCentral() + jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:0.12.+' + classpath 'com.android.tools.build:gradle:1.3.1' + classpath 'com.github.ben-manes:gradle-versions-plugin:0.11.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } - -allprojects { - repositories { - mavenCentral() - } -} diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 0af6e3f..0d2da71 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Tue Jul 15 18:59:06 CEST 2014 +#Tue Aug 18 10:43:30 CEST 2015 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip diff --git a/libraries/libsuperuser b/libraries/libsuperuser deleted file mode 160000 index 1428b2b..0000000 --- a/libraries/libsuperuser +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 1428b2b7a9393035b70c71ed6073d88f92522878 diff --git a/settings.gradle b/settings.gradle index 72f34c6..9d495b3 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1 @@ -include ':app', ':libsuperuser' -project(':libsuperuser').projectDir = new File('libraries/libsuperuser/libsuperuser') \ No newline at end of file +include ':app' \ No newline at end of file