fixed bug with deploymentName property

This commit is contained in:
2024-02-24 16:21:18 +08:00
parent 5304576900
commit 72bfcf4842
2 changed files with 3 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ woggioniMavenRepositoryUrl=https://mvn.woggioni.net/
lys.catalog.version=2024.02.12 lys.catalog.version=2024.02.12
version.myGradlePlugins=2024.02.22 version.myGradlePlugins=2024.02.24
version.gradle=7.6 version.gradle=7.6
version.felix.config.admin=1.9.26 version.felix.config.admin=1.9.26
version.felix=7.0.5 version.felix=7.0.5

View File

@@ -28,7 +28,7 @@ public abstract class Deploy2WildflyTask extends Exec {
@Input @Input
public abstract Property<String> getRpcPassword(); public abstract Property<String> getRpcPassword();
@InputFile @Input
public abstract Property<String> getDeploymentName(); public abstract Property<String> getDeploymentName();
@InputFile @InputFile
@@ -66,8 +66,7 @@ public abstract class Deploy2WildflyTask extends Exec {
"--password=" + getRpcPassword().get(), "--password=" + getRpcPassword().get(),
"--command=deploy " "--command=deploy "
+ getArtifact().getAsFile().get().getPath() + getArtifact().getAsFile().get().getPath()
+ "--name " + " --name=" + getDeploymentName().get()
+ getDeploymentName().get()
+ " --force") + " --force")
); );
} }