Updated dependencies
Bumped Gradle to version 8.10.1 Bumped Kotlin to version 2.0.20 Bumped bld to version 2.1.0
This commit is contained in:
parent
94254cd590
commit
3b18ff1612
32 changed files with 163 additions and 128 deletions
2
examples/kotlin/.idea/kotlinc.xml
generated
2
examples/kotlin/.idea/kotlinc.xml
generated
|
@ -5,6 +5,6 @@
|
|||
<option name="sourceMapPrefix" />
|
||||
</component>
|
||||
<component name="KotlinJpsPluginSettings">
|
||||
<option name="version" value="1.9.23" />
|
||||
<option name="version" value="2.0.20" />
|
||||
</component>
|
||||
</project>
|
2
examples/kotlin/.idea/misc.xml
generated
2
examples/kotlin/.idea/misc.xml
generated
|
@ -4,7 +4,7 @@
|
|||
<component name="PDMPlugin">
|
||||
<option name="skipTestSources" value="false" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" project-jdk-name="17" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="17" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/classes" />
|
||||
</component>
|
||||
</project>
|
11
examples/kotlin/README.md
Normal file
11
examples/kotlin/README.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
## Examples
|
||||
|
||||
To run the examples:
|
||||
|
||||
```console
|
||||
./gradlew run
|
||||
./gradlew runJava
|
||||
./gradlew runExample
|
||||
./gradlew runJavaExample
|
||||
```
|
||||
|
|
@ -1,16 +1,10 @@
|
|||
plugins {
|
||||
id("application")
|
||||
id("com.github.ben-manes.versions") version "0.51.0"
|
||||
kotlin("jvm") version "1.9.24"
|
||||
kotlin("jvm") version "2.0.20"
|
||||
kotlin("kapt") version "1.9.23"
|
||||
}
|
||||
|
||||
// ./gradlew
|
||||
// ./gradlew run
|
||||
// ./gradlew runJava
|
||||
// ./gradlew runExample
|
||||
// ./gradlew runJavaExample
|
||||
|
||||
defaultTasks(ApplicationPlugin.TASK_RUN_NAME)
|
||||
|
||||
val semverProcessor = "net.thauvin.erik:semver:1.2.2-SNAPSHOT"
|
||||
|
@ -24,7 +18,7 @@ dependencies {
|
|||
|
||||
kapt {
|
||||
arguments {
|
||||
arg("semver.project.dir", projectDir)
|
||||
arg("semver.project.dir", projectDir.absolutePath)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
BIN
examples/kotlin/gradle/wrapper/gradle-wrapper.jar
vendored
BIN
examples/kotlin/gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
|
@ -1,6 +1,6 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
|
7
examples/kotlin/gradlew
vendored
7
examples/kotlin/gradlew
vendored
|
@ -15,6 +15,8 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
|
@ -55,7 +57,7 @@
|
|||
# Darwin, MinGW, and NonStop.
|
||||
#
|
||||
# (3) This script is generated from the Groovy template
|
||||
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# within the Gradle project.
|
||||
#
|
||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||
|
@ -84,7 +86,8 @@ done
|
|||
# shellcheck disable=SC2034
|
||||
APP_BASE_NAME=${0##*/}
|
||||
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
||||
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
|
||||
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
|
||||
' "$PWD" ) || exit
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD=maximum
|
||||
|
|
2
examples/kotlin/gradlew.bat
vendored
2
examples/kotlin/gradlew.bat
vendored
|
@ -13,6 +13,8 @@
|
|||
@rem See the License for the specific language governing permissions and
|
||||
@rem limitations under the License.
|
||||
@rem
|
||||
@rem SPDX-License-Identifier: Apache-2.0
|
||||
@rem
|
||||
|
||||
@if "%DEBUG%"=="" @echo off
|
||||
@rem ##########################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue