Skip to content

Commit 0caf7b7

Browse files
committed
Minor changes in the gradle file
1 parent 0bd947b commit 0caf7b7

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

build.gradle.kts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ group = "io.github.wldt"
55
version = "0.5.0"
66
description = "The core library to build White Label Digital Twins"
77
java.sourceCompatibility = JavaVersion.VERSION_1_8
8-
java.targetCompatibility = JavaVersion.VERSION_1_8
98

109
plugins {
1110
id("com.vanniktech.maven.publish") version "0.35.0"
@@ -21,6 +20,13 @@ repositories {
2120

2221
dependencies {
2322
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.10.1")
23+
//testImplementation("org.junit.jupiter:junit-jupiter:5.10.1")
24+
//testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.10.1")
25+
}
26+
27+
tasks.named<Test>("test") {
28+
//useJUnitPlatform()
29+
enabled = false
2430
}
2531

2632
java {
@@ -39,10 +45,6 @@ tasks.withType<Javadoc>() {
3945
}
4046
}
4147

42-
tasks.named<Test>("test") {
43-
useJUnitPlatform()
44-
}
45-
4648
// ✅ FIX ESATTO PER GRADLE 9.2.1 + vanniktech.maven.publish 0.35.0
4749
afterEvaluate {
4850
val plainJavadocJarTask = tasks.findByName("plainJavadocJar")

0 commit comments

Comments
 (0)