Skip to content

Commit 0158b34

Browse files
committed
Drop support for Java 6
1 parent b3ebaae commit 0158b34

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

build.gradle

+12-4
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,22 @@ plugins {
1212
}
1313

1414
group = 'net.minecrell'
15-
version = '0.8.2-SNAPSHOT'
15+
version = '0.9.0-SNAPSHOT'
1616
description = 'A Gradle plugin to manage patches for Git repositories'
1717

18-
sourceCompatibility = 1.6
19-
targetCompatibility = 1.6
18+
sourceCompatibility = '1.7'
19+
targetCompatibility = '1.7'
20+
21+
repositories {
22+
jcenter()
23+
}
2024

2125
dependencies {
22-
compile localGroovy()
26+
compileOnly'org.codehaus.groovy:groovy-all:2.4.7:indy'
27+
}
28+
29+
tasks.withType(GroovyCompile) {
30+
groovyOptions.optimizationOptions.indy = true
2331
}
2432

2533
license {

0 commit comments

Comments
 (0)