Having some trouble here, hoping for some help. Thank you in advance!
I get this error:
java.lang.UnsupportedClassVersionError: de/inetsoftware/jwebassembly/gradle/WasmPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
// declare your Java sources like you do it for your other Java projects
sourceSets {
main {
java {
srcDir 'src'
}
}
}
wasm {
format = 'Text' // possible values are 'Text' and 'Binary'. 'Binary' is the default value.
compilerVersion = 0.3 // specify a compiler version, default is '+'
classpath = sourceSet.compileClasspath
}`
Hello!
Having some trouble here, hoping for some help. Thank you in advance!
I get this error: java.lang.UnsupportedClassVersionError: de/inetsoftware/jwebassembly/gradle/WasmPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Can get the plugin to work with:
`buildscript { repositories { mavenCentral() } dependencies { classpath 'gradle.plugin.de.inetsoftware:jwebassembly-gradle:+' } }
plugins { id 'java' }
group = 'org.example' version = '1.0-SNAPSHOT'
apply plugin: 'de.inetsoftware.jwebassembly'
// declare your Java sources like you do it for your other Java projects sourceSets { main { java { srcDir 'src' } } }
wasm { format = 'Text' // possible values are 'Text' and 'Binary'. 'Binary' is the default value. compilerVersion = 0.3 // specify a compiler version, default is '+' classpath = sourceSet.compileClasspath }`