diff --git a/packages/termux-am/update-build.patch b/packages/termux-am/update-build.patch new file mode 100644 index 000000000..b00ed89ab --- /dev/null +++ b/packages/termux-am/update-build.patch @@ -0,0 +1,43 @@ +Submitted upstream at https://github.com/michalbednarski/TermuxAm/pull/4 + +diff --git a/app/build.gradle b/app/build.gradle +index 7888fcd..07c189e 100644 +--- a/app/build.gradle ++++ b/app/build.gradle +@@ -1,11 +1,11 @@ + apply plugin: 'com.android.application' + + android { +- compileSdkVersion 26 ++ compileSdkVersion 28 + defaultConfig { + applicationId "com.example.termuxam" + minSdkVersion 21 +- targetSdkVersion 26 ++ targetSdkVersion 28 + versionCode 1 + versionName "0.1" + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" +diff --git a/build.gradle b/build.gradle +index e6b32bc..6c2bb63 100644 +--- a/build.gradle ++++ b/build.gradle +@@ -7,7 +7,7 @@ buildscript { + jcenter() + } + dependencies { +- classpath 'com.android.tools.build:gradle:3.0.1' ++ classpath 'com.android.tools.build:gradle:3.3.0' + + + // NOTE: Do not place your application dependencies here; they belong +diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties +index a23653e..4f86dee 100644 +--- a/gradle/wrapper/gradle-wrapper.properties ++++ b/gradle/wrapper/gradle-wrapper.properties +@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME + distributionPath=wrapper/dists + zipStoreBase=GRADLE_USER_HOME + zipStorePath=wrapper/dists +-distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip ++distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip