File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
build-logic/common-plugins/src/main/kotlin/tasks Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,14 @@ import org.gradle.api.*
4
4
import org.gradle.api.file.*
5
5
import org.gradle.api.provider.*
6
6
import org.gradle.api.tasks.*
7
+ import org.gradle.api.tasks.options.Option
7
8
8
9
@CacheableTask
9
10
abstract class SampleTask : DefaultTask () {
10
11
11
- @get:Input abstract val greeting: Property <String >
12
+ @get:Input
13
+ @get:Option(option = " greeting" , description = " Greetings Task Property" )
14
+ abstract val greeting: Property <String >
12
15
13
16
@get: [Input Optional ]
14
17
abstract val versions: MapProperty <String , String >
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ kotlin-jvmtarget = "20"
6
6
kotlin-dsl-jvmtarget = " 17"
7
7
kotlin-api-version = " 1.9"
8
8
kotlin-lang-version = " 2.0"
9
- gradle = " 8.3-rc-1 "
9
+ gradle = " 8.3-rc-2 "
10
10
node-version = " 20.4.0"
11
11
java-vendor = " Oracle"
12
12
java-jvmArguments = " --enable-preview"
@@ -102,7 +102,7 @@ npm-vega-lite = "5.13.0"
102
102
# Plugin versions
103
103
benmanes = " 0.47.0"
104
104
foojay-resolver = " 0.6.0"
105
- gradle-enterprise = " 3.14"
105
+ gradle-enterprise = " 3.14.1 "
106
106
nexus-publish = " 2.0.0-rc-1"
107
107
shadow = " 8.1.1"
108
108
spotless = " 6.20.0"
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.3-rc-1 -all.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.3-rc-2 -all.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 83
83
# This is normally unused
84
84
# shellcheck disable=SC2034
85
85
APP_BASE_NAME=${0##*/ }
86
- APP_HOME=$( cd " ${APP_HOME:- ./ } " && pwd -P ) || exit
86
+ # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87
+ APP_HOME=$( cd " ${APP_HOME:- ./ } " > /dev/null && pwd -P ) || exit
87
88
88
89
# Use the maximum available, or set MAX_FD != -1 to use that value.
89
90
MAX_FD=maximum
You can’t perform that action at this time.
0 commit comments