forced target to java6, 7 not yet supported

This commit is contained in:
Connor Tumbleson 2012-09-20 21:52:44 -05:00
parent c676ad1c60
commit c75ae8f82b
2 changed files with 15 additions and 1 deletions

5
.gitignore vendored
View File

@ -8,7 +8,8 @@ brut.apktool/apktool-cli/build*
brut.apktool/apktool-lib/build*
brut.apktool/build*
build*
*~
/brut.apktool/nbproject/private/
/brut.apktool.smali/baksmali/nbproject/private/
/brut.apktool.smali/dexlib/nbproject/private/
@ -19,3 +20,5 @@ build*
/brut.apktool/apktool-lib/nbproject/private/
/brut.apktool/apktool-cli/nbproject/private/
*.kate-swp
*~
*.project

View File

@ -6,6 +6,17 @@ repositories {
mavenCentral()
}
sourceCompatibility = 1.6
targetCompatibility = 1.6
class Compatibility {
String version
Compatibility(String versionValue) {
def matcher = (versionValue =~ /Java (\d)/)
version = matcher[0][1]
}
String toString() { version }
}
dependencies {
}