File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
components/configure-develocity-maven-extension Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ abstract class ApplyArgbash @Inject constructor(
42
42
fun applyArgbash () {
43
43
val argbash = argbashHome.get().file(" bin/argbash" ).asFile
44
44
scriptTemplates.get().visit {
45
- if ( ! isDirectory) {
46
- val relPath = relativePath.parent.pathString
45
+ val parentRelativePath = relativePath.parent?.pathString
46
+ if ( ! isDirectory && parentRelativePath != null ) {
47
47
val basename = file.nameWithoutExtension
48
- val outputFile = outputDir.get().file(" $relPath /$basename .sh" ).asFile
48
+ val outputFile = outputDir.get().file(" $parentRelativePath /$basename .sh" ).asFile
49
49
outputFile.parentFile.mkdirs()
50
50
51
51
logger.info(" Applying argbash to $file " )
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id(" java" )
3
- id(" com.github.johnrengelman. shadow" ) version " 8.1.1 "
3
+ id(" com.gradleup. shadow" ) version " 8.3.8 "
4
4
}
5
5
6
6
repositories {
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionSha256Sum =bd71102213493060956ec229d946beee57158dbd89d0e62b91bca0fa2c5f3531
4
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.14.3 -bin.zip
3
+ distributionSha256Sum =8fad3d78296ca518113f3d29016617c7f9367dc005f932bd9d93bf45ba46072b
4
+ distributionUrl =https\://services.gradle.org/distributions/gradle-9.0.0 -bin.zip
5
5
networkTimeout =10000
6
6
validateDistributionUrl =true
7
7
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
#
4
- # Copyright © 2015-2021 the original authors.
4
+ # Copyright © 2015 the original authors.
5
5
#
6
6
# Licensed under the Apache License, Version 2.0 (the "License");
7
7
# you may not use this file except in compliance with the License.
You can’t perform that action at this time.
0 commit comments