File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ export BUILD_VERSION=$(./gradlew :pi4j-plugin-grpc:properties -q | grep '^versio
44export DIST_ZIP=$( find . -name " pi4j-plugin-grpc-server-${BUILD_VERSION} .zip" )
55export SHADOW_JAR=$( find . -name " pi4j-plugin-grpc-server-${BUILD_VERSION} -all.jar" )
66
7+ strip_snapshot () {
8+ export BUILD_VERSION=" ${BUILD_VERSION% -SNAPSHOT} "
9+ }
10+
711# `true` if BUILD_VERSION ends with `SNAPSHOT`
812is_snapshot () {
913 [[ " ${BUILD_VERSION} " == * SNAPSHOT ]]
Original file line number Diff line number Diff line change 33//REPOS central,snapshots=https://central.sonatype.com/repository/maven-snapshots/
44//DEPS org.slf4j:slf4j-simple:2.0.17
55//DEPS io.github.iamnicknack:pi4j-plugin-grpc:0.0.1-SNAPSHOT
6+ //DEPS com.pi4j:pi4j-plugin-mock:4.0.1
67//JAVA_OPTIONS -Dpi4j.grpc.host=localhost -Dpi4j.grpc.port=9090
78
89import com .pi4j .Pi4J ;
Original file line number Diff line number Diff line change @@ -4,20 +4,20 @@ assertj = "3.27.7"
44assertk = " 0.28.1"
55jakarta-annotation = " 3.0.0"
66junit = " 6.0.3"
7- kotlin = " 2.3.10 "
8- kotlin-coroutines = " 1.10.2 "
7+ kotlin = " 2.3.21 "
8+ kotlin-coroutines = " 1.11.0 "
99logback = " 1.5.32"
10- slf4j = " 2.0.17 "
10+ slf4j = " 2.0.18 "
1111
12- grpc-core = " 1.79 .0"
12+ grpc-core = " 1.81 .0"
1313grpc-kotlin = " 1.5.0"
14- protobuf = " 4.34 .0"
15- protobuf-google = " 0.9.6 "
14+ protobuf = " 4.35 .0"
15+ protobuf-google = " 0.10.0 "
1616
1717publish-vanniktech = " 0.36.0"
1818shadow = " 9.3.1"
1919
20- pi4j = " 4.0.0 "
20+ pi4j = " 4.0.1 "
2121
2222[libraries ]
2323
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- # Gradle 9.4 for kotlin java 25 support
4- distributionUrl =https://services.gradle.org/distributions/gradle-9.4.0-bin.zip
3+ distributionUrl =https://services.gradle.org/distributions/gradle-9.5.1-bin.zip
54networkTimeout =10000
65validateDistributionUrl =true
76zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments