Skip to content

Commit 44cf301

Browse files
fix path 3
1 parent e11ad53 commit 44cf301

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

gradle/scripts/deploy.gradle

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ publishing {
3535
}
3636
}
3737

38-
tasks.register("generatePom") {
39-
doLast {
40-
publishing.publications.mavenJava.pom.writeTo("${layout.buildDirectory}/libs/pom.xml")
41-
}
38+
tasks.register("generatePom", GenerateMavenPom) {
39+
destination = file("${layout.buildDirectory}/libs/pom.xml")
40+
pom = publishing.publications.mavenJava.pom
4241
}
4342
}
4443

0 commit comments

Comments
 (0)