Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public final class GradleDistributionManager {
GradleVersion.version("9.4.0"),// JDK-26
};

private static final GradleVersion LAST_KNOWN_GRADLE = GradleVersion.version("9.4.1"); //NOI18N
private static final GradleVersion LAST_KNOWN_GRADLE = GradleVersion.version("9.6.1"); //NOI18N

private static final int LATEST_SUPPORTED_MAJOR = 9;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public String toString() {
"LBL_TFW_CPP_TEST=C++ Test",
"LBL_TFW_JUNIT=JUnit 4",
"LBL_TFW_JUNIT_5=JUnit 5",
"LBL_TFW_JUNIT_JUPITER=JUnit Jupiter",
"LBL_TFW_KOTLIN_TEST=Kotlin Test",
"LBL_TFW_SCALA_TEST=Scala Test",
"LBL_TFW_SPOCK=Spock",
Expand All @@ -73,7 +74,9 @@ public String toString() {
public enum TestFramework {
CPP_TEST("cpptest"),
JUNIT("junit"),
@Deprecated
JUNIT_5("junit-jupiter"),
JUNIT_JUPITER("junit-jupiter"),
KOTLIN_TEST("kotlintest"),
SCALA_TEST("scalatest"),
SPOCK("spock"),
Expand All @@ -96,6 +99,7 @@ public String toString() {
case CPP_TEST -> Bundle.LBL_TFW_CPP_TEST();
case JUNIT -> Bundle.LBL_TFW_JUNIT();
case JUNIT_5 -> Bundle.LBL_TFW_JUNIT_5();
case JUNIT_JUPITER -> Bundle.LBL_TFW_JUNIT_JUPITER();
case KOTLIN_TEST -> Bundle.LBL_TFW_KOTLIN_TEST();
case SCALA_TEST -> Bundle.LBL_TFW_SCALA_TEST();
case SPOCK -> Bundle.LBL_TFW_SPOCK();
Expand Down
2 changes: 1 addition & 1 deletion extide/libs.gradle/external/binaries-list
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

5DE943D707DEB36CD23919473870BF0A051AB24D https://repo.gradle.org/artifactory/libs-releases/org/gradle/gradle-tooling-api/9.3.0/gradle-tooling-api-9.3.0.jar gradle-tooling-api-9.3.0.jar
1C800044DBAD7BACC5ED32E8A4AB76B0D7BA5276 https://repo.gradle.org/artifactory/libs-releases/org/gradle/gradle-tooling-api/9.6.1/gradle-tooling-api-9.6.1.jar gradle-tooling-api-9.6.1.jar
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Name: Gradle Tooling API
Description: Gradle Tooling API
Version: 9.3.0
Files: gradle-tooling-api-9.3.0.jar
Version: 9.6.1
Files: gradle-tooling-api-9.6.1.jar
License: Apache-2.0
Origin: Gradle Inc.
URL: https://gradle.org/
Expand Down
2 changes: 1 addition & 1 deletion extide/libs.gradle/manifest.mf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Manifest-Version: 1.0
AutoUpdate-Show-In-Client: false
OpenIDE-Module: org.netbeans.modules.libs.gradle/9
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/libs/gradle/Bundle.properties
OpenIDE-Module-Specification-Version: 9.5
OpenIDE-Module-Specification-Version: 9.6
2 changes: 1 addition & 1 deletion extide/libs.gradle/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ javac.compilerargs=-Xlint -Xlint:-serial
# Sigtest fails to read the classes in the gradle-tooling-api
sigtest.skip.gen=true

release.external/gradle-tooling-api-9.3.0.jar=modules/gradle/gradle-tooling-api.jar
release.external/gradle-tooling-api-9.6.1.jar=modules/gradle/gradle-tooling-api.jar
2 changes: 1 addition & 1 deletion extide/libs.gradle/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</public-packages>
<class-path-extension>
<runtime-relative-path>gradle/gradle-tooling-api.jar</runtime-relative-path>
<binary-origin>external/gradle-tooling-api-9.3.0.jar</binary-origin>
<binary-origin>external/gradle-tooling-api-9.6.1.jar</binary-origin>
</class-path-extension>
</data>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public final class Wizards {
private static final List<Integer> JAVA_VERSIONS = List.of(26, 25, 21, 17, 11, 8);
private static final List<TestFramework> JAVA_TEST_FRAMEWORKS = List.of(
JUNIT,
JUNIT_5,
JUNIT_JUPITER,
TESTNG
);

Expand All @@ -51,7 +51,7 @@ public static BaseGradleWizardIterator createJavaApplication() {
return GradleInitWizard.create("java-application", Bundle.LBL_SimpleApplicationProject())
.withJavaVersions(JAVA_VERSIONS)
.withTestframeworks(JAVA_TEST_FRAMEWORKS)
.withPreferredTestFramework(JUNIT_5)
.withPreferredTestFramework(JUNIT_JUPITER)
.withImportantPaths(List.of(
"app",
"app/src/main/java/${package}/App.java"
Expand All @@ -68,7 +68,7 @@ public static BaseGradleWizardIterator createJavaLibrary() {
return GradleInitWizard.create("java-library", Bundle.LBL_SimpleApplicationProject())
.withJavaVersions(JAVA_VERSIONS)
.withTestframeworks(JAVA_TEST_FRAMEWORKS)
.withPreferredTestFramework(JUNIT_5)
.withPreferredTestFramework(JUNIT_JUPITER)
.withImportantPaths(List.of(
"lib",
"lib/src/main/java/${package}/Library.java"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.gradle.tooling.events.OperationDescriptor;
import org.gradle.tooling.events.test.JvmTestKind;
import org.gradle.tooling.events.test.JvmTestOperationDescriptor;
import org.gradle.tooling.events.test.source.TestSource;
import org.junit.Test;
import static org.junit.Assert.assertEquals;

Expand Down Expand Up @@ -112,5 +113,10 @@ public String getMethodName() {
public String getTestDisplayName() {
throw new UnsupportedOperationException();
}

@Override
public TestSource getSource() {
throw new UnsupportedOperationException();
}
}
}
Loading