Skip to content

Commit 979ff2e

Browse files
committed
chore: use multi $ interpolation
1 parent 94b0e9b commit 979ff2e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[versions]
22
java = "26"
33
kotlin = "2.2.20-RC2"
4-
kotlin-ksp = "2.2.20-RC-2.0.2"
4+
kotlin-ksp = "2.2.20-RC2-2.0.2"
55
kotlin-jvmtarget = "21"
66
kotlin-dsl-jvmtarget = "21"
77
kotlin-api-version = "2.3"
@@ -181,7 +181,7 @@ batik = "1.19"
181181
twelvemonkeys = "3.12.0"
182182
okapibarcode = "0.5.2"
183183
chasm = "1.0.0"
184-
cel = "0.10.1"
184+
cel = "0.11.0"
185185
kfswatch = "1.3.1"
186186
kmp-process = "0.3.2"
187187
kmbed = "1.8.4"

plugins/project/src/main/kotlin/tasks/ReallyExecJar.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ abstract class ReallyExecJar : DefaultTask() {
3838

3939
@TaskAction
4040
fun execute() {
41-
// Replace the tmp path with env variable for portability.
41+
// Replace the tmp path with the env variable for portability.
4242
val shellStub =
4343
javaClass
4444
.getResourceAsStream("/exec-jar-stub.sh")
4545
?.readBytes()
4646
?.decodeToString()
4747
?.replace(
48-
oldValue = """"${'$'}JAVA_OPTS"""",
48+
oldValue = $$""""$JAVA_OPTS"""",
4949
newValue = javaOpts.get().joinToString(" "),
5050
)
51-
?.replace(tmp, "${'$'}TMPDIR/")
51+
?.replace(tmp, $$"$TMPDIR/")
5252
?: throw GradleException("Can't find executable shell stub!")
5353
logger.debug("Exec jar shell stub: $shellStub")
5454

0 commit comments

Comments
 (0)