com.frozendevs.cache.cleaner: Use JDK7 for newer builds in build.gradle
This commit is contained in:
parent
88277ae7f8
commit
6112008cf3
|
@ -65,12 +65,12 @@ Build:2.1.1,17
|
|||
sed -i -e '/classpath/iclasspath "com.android.tools.build:gradle:0.12.+"\n\/*\n' build.gradle
|
||||
|
||||
Build:2.1.2,18
|
||||
disable=java issues
|
||||
commit=v2.1.2
|
||||
subdir=CacheCleaner
|
||||
gradle=yes
|
||||
prebuild=sed -i -e '/classpath/a*\/' build.gradle && \
|
||||
sed -i -e '/classpath/iclasspath "com.android.tools.build:gradle:0.12.+"\n\/*\n' build.gradle
|
||||
patch=cachecleaner-gradle.patch
|
||||
|
||||
Maintainer Notes:
|
||||
Prebuild is a quirk to force a specific gradle version. Upstream says "always use latest gradle".
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
diff --git a/CacheCleaner/build.gradle b/CacheCleaner/build.gradle
|
||||
index e629920..a8ac4e4 100644
|
||||
--- a/CacheCleaner/build.gradle
|
||||
+++ b/CacheCleaner/build.gradle
|
||||
@@ -15,6 +15,11 @@ repositories {
|
||||
android {
|
||||
compileSdkVersion 21
|
||||
buildToolsVersion "21.1.2"
|
||||
+
|
||||
+ compileOptions {
|
||||
+ sourceCompatibility JavaVersion.VERSION_1_7
|
||||
+ targetCompatibility JavaVersion.VERSION_1_7
|
||||
+ }
|
||||
}
|
||||
|
||||
dependencies {
|
Loading…
Reference in a new issue