Skip to content

Commit 681a94d

Browse files
committed
Add Gradle command dev #652
1 parent c555a15 commit 681a94d

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ tasks.register( 'serverWebpack', NodeTask ) {
7575
script = file( 'node_modules/webpack-cli/bin/cli.js' )
7676
}
7777

78+
tasks.register('dev', Exec) {
79+
commandLine './gradlew', 'deploy', '-t'
80+
}
81+
7882
processResources {
7983
include '**/*'
8084
exclude '**/.gitkeep'

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ appDisplayName = Webpack Example
77
appName = com.acme.example.webpack
88
vendorName = Acme Inc
99
vendorUrl = https://example.com
10-
xpVersion = 7.13.2
10+
xpVersion = 7.13.3
1111

1212
# Settings for publishing to a Maven repo
1313
group = com.acme.example

gradle/wrapper/gradle-wrapper.jar

346 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ done
8383
# This is normally unused
8484
# shellcheck disable=SC2034
8585
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
8788

8889
# Use the maximum available, or set MAX_FD != -1 to use that value.
8990
MAX_FD=maximum

0 commit comments

Comments
 (0)