diff --git a/README.md b/README.md index f2a28f4..bf68170 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,8 @@ This “library” binds the baked bitmap of Unifont, so we don’t need to add ```groovy dependencies { - implementation "io.github.over-run:unifont:15.0.06" + implementation(platform("io.github.over-run:utilities:+")) + implementation("io.github.over-run:unifont") } ``` diff --git a/build.gradle b/build.gradle index 458bdfd..ec2d106 100644 --- a/build.gradle +++ b/build.gradle @@ -55,7 +55,7 @@ jar { manifest.attributes( 'Specification-Title': projName, 'Specification-Vendor': orgName, - 'Specification-Version': '0', + 'Specification-Version': '1', 'Implementation-Title': projName, 'Implementation-Vendor': orgName, 'Implementation-Version': archiveVersion diff --git a/gradle.properties b/gradle.properties index 60dad43..4aa533b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ org.gradle.jvmargs=-Dfile.encoding=UTF-8 projGroupId=io.github.over-run projArtifactId=unifont projName=unifont -projVersion=15.0.06 +projVersion=15.0.06.1 projDesc=Java Unifont binding projVcs=Over-Run/unifont projBranch=0.x diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index ccebba7..033e24c 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a363877..9f4197d 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip networkTimeout=10000 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew index 79a61d4..fcb6fca 100644 --- a/gradlew +++ b/gradlew @@ -85,9 +85,6 @@ done APP_BASE_NAME=${0##*/} APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum @@ -133,10 +130,13 @@ location of your Java installation." fi else JAVACMD=java - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + if ! command -v java >/dev/null 2>&1 + then + die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation." + fi fi # Increase the maximum file descriptors if we can. @@ -197,6 +197,10 @@ if "$cygwin" || "$msys" ; then done fi + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + # Collect all arguments for the java command; # * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of # shell script including quotes and variable substitutions, so put them in diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java new file mode 100644 index 0000000..6d61b3e --- /dev/null +++ b/src/main/java/module-info.java @@ -0,0 +1,23 @@ +/* + * MIT License + * + * Copyright (c) 2023 Overrun Organization + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + */ + +/** + * @author squid233 + * @since 15.0.06.1 + */ +module org.overrun.unifont { + exports org.overrun.unifont; +} diff --git a/src/main/java/org/overrun/unifont/UnifontUtil.java b/src/main/java/org/overrun/unifont/UnifontUtil.java index 77748ae..a637467 100644 --- a/src/main/java/org/overrun/unifont/UnifontUtil.java +++ b/src/main/java/org/overrun/unifont/UnifontUtil.java @@ -20,7 +20,7 @@ * The utilities of Unifont. * * @author squid233 - * @since 0.1.0 + * @since 15.0.01.1 */ public final class UnifontUtil { /**