Thomas Kellerer schrieb am 02.12.2022 um 08:10: > our project switch from Gradle 6.9.x to 7.5.1 and now it doesn't work with > NetBeans 16 any more (the most recent "voting candidate") > Everything was working fine with Gradle 6.9.x even with the various NetBeans > 16 RC versions > > Whenever I open the project, NetBeans shows the project is unloadable with > this message > > Reason: java.io.NotSerializableException: [extensions.propertyValues] >
More background information: When opening the project properties it shows "Source/Binary Format 1.5" in the "Sources" section (and I can not change it there) The project the error message belongs to, is part of a multi-module project. The build.gradle in the root contains this: plugins { id "com.bmuschko.docker-remote-api" version "${dockerRemoteApiPluginVersion}" id "maven-publish" id "de.undercouch.download" version "${undercouchDownloadVersion}" id "io.mateo.cxf-codegen" version "${cxfCodeGenVersion}" id "com.github.node-gradle.node" version "${nodePluginVersion}" } apply from: "security/atlas.gradle" if (project.hasProperty('projVersion')) { project.version = project.projVersion } def version = project.version task(getVersion) { println(project.version) } allprojects { apply plugin: "base" } subprojects { apply plugin: "maven-publish" apply plugin: "com.bmuschko.docker-remote-api" docker { registryCredentials { url = projectDockerRegistry username = project.findProperty("repository_username") password = project.findProperty("repository_password") } } ext.dockerRegistryCredentialsForRead = docker { registryCredentials { url = dockerRegistryForRead username = project.findProperty("repository_username") password = project.findProperty("repository_password") } } ext.calculateShortTag = { String name -> "module-${name}" } ext.calculateFullTag = { String name -> "${projectDockerRegistry}/${group}/${name}:${version}" } plugins.with { // All projects (modules) with the JavaPlugin are using Java 11 withType(JavaPlugin) { java { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } } } } wrapper { gradleVersion '7.5.1' distributionType Wrapper.DistributionType.ALL } So maybe NetBeans doesn't understand the part where the JavaVersion is set for all sub-modules? Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists