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
version.myGradlePlugins=2024.02.22
version.myGradlePlugins=2024.02.24
version.gradle=7.6
version.felix.config.admin=1.9.26
version.felix=7.0.5

View File

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