Compare commits

...

5 Commits

Author SHA256 Message Date
cb7a341b75 NoIssue: Upgrade build for gradle-9.3.0 2026-01-26 15:36:56 +01:00
58ff2751aa NoIssue: Upgrade build for Java 25 2026-01-26 15:36:03 +01:00
9988e03759 NoIssue: Add Context 2026-01-24 14:57:29 +01:00
Minimons
eda81e73c6 NoIssue: Add noop() 2026-01-24 14:50:13 +01:00
eccc5bcf62 NoIssue: Build improvements 2025-12-27 22:10:20 +01:00
10 changed files with 31 additions and 12 deletions

View File

@@ -28,15 +28,15 @@ repositories {
}
dependencies {
implementation("org.jetbrains:annotations:26.0.1")
compileOnly("org.jetbrains:annotations:26.0.2-1")
}
java {
toolchain { languageVersion.set(JavaLanguageVersion.of(24)) }
toolchain { languageVersion.set(JavaLanguageVersion.of(25)) }
}
tasks.withType<JavaCompile> {
options.release.set(24)
tasks.withType<JavaCompile>().configureEach {
options.release.set(25)
}
publishing {

View File

@@ -1,3 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
export VERSION=$(git describe --tags --exact-match 2>/dev/null \
|| git symbolic-ref --short -q HEAD \
|| git rev-parse --short HEAD)

View File

@@ -1 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
./gradlew clean ; rm -rf build

View File

@@ -1,5 +1,5 @@
org.gradle.java.installations.auto-detect=true
org.gradle.java.installations.fromEnv=JAVA_HOME
org.gradle.java.installations.paths=/usr/local/software/java/jfx-24
org.gradle.java.installations.paths=/usr/local/software/java/jfx-25
org.gradle.java.installations.auto-download=false
org.gradle.configuration-cache=true

View File

@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.0-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME

View File

@@ -1,3 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
export VERSION=$(git describe --tags --exact-match 2>/dev/null \
|| git symbolic-ref --short -q HEAD \
|| git rev-parse --short HEAD)

View File

@@ -1,3 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
export VERSION=$(git describe --tags --exact-match 2>/dev/null \
|| git symbolic-ref --short -q HEAD \
|| git rev-parse --short HEAD)

View File

@@ -0,0 +1,4 @@
package com.r35157.nenjim.hubd;
public interface Context {
}

View File

@@ -0,0 +1,9 @@
package com.r35157.nenjim.hubd;
public interface NenjimHub {
/**
* A no-operation (noop). This method is suppoted to do nothing.
*/
void noop();
}

View File

@@ -1,6 +0,0 @@
package com.r35157.nenjim.hubd;
public interface SomeInterface {
String concat(String x, String y);
void divideByZero() throws ArithmeticException;
}