@@ -32,7 +32,7 @@ buildscript {
3232}
3333
3434plugins { id ' com.diffplug.spotless' version " 6.23.3" apply false }
35- plugins { id ' me.champeau.jmh' version ' 0.6.8 ' apply false }
35+ plugins { id ' me.champeau.jmh' version ' 0.7.2 ' apply false }
3636plugins { id ' org.sonarqube' version ' 4.3.1.3277' apply false }
3737
3838description = ' ASM, a very small and fast Java bytecode manipulation framework'
@@ -54,8 +54,10 @@ subprojects {
5454 repositories { mavenCentral() }
5555 apply plugin : ' java-library'
5656 apply plugin : ' jacoco'
57- sourceCompatibility = ' 11'
58- targetCompatibility = ' 11'
57+ java {
58+ sourceCompatibility = ' 11'
59+ targetCompatibility = ' 11'
60+ }
5961 test { useJUnitPlatform() }
6062 ext. provides = [] // The provided java packages, e.g. ['org.objectweb.asm']
6163 ext. requires = [] // The required Gradle projects, e.g. [':asm-test']
@@ -168,8 +170,10 @@ project(':tools') {
168170
169171project(' :tools:retrofitter' ) {
170172 description = " JDK 1.5 class retrofitter based on ${ rootProject.description} "
171- sourceCompatibility = ' 11'
172- targetCompatibility = ' 11'
173+ java {
174+ sourceCompatibility = ' 11'
175+ targetCompatibility = ' 11'
176+ }
173177 // TODO: this compiles asm twice (here and in :asm).
174178 sourceSets. main. java. srcDirs + = project(' :asm' ). sourceSets. main. java. srcDirs
175179}
0 commit comments