Skip to content

Commit a040f34

Browse files
committed
补充publish
1 parent f2907ad commit a040f34

1 file changed

Lines changed: 16 additions & 7 deletions

File tree

morpher-api/build.gradle.kts

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,24 @@ tasks {
3232
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
3333
}
3434

35-
// publishing{
36-
// publications{
37-
// create<MavenPublication>("mavenJava"){
38-
// groupId = "com.github.luiox"
39-
// artifactId = "morpher-api"
40-
// version = "1.6"
41-
// }
35+
// repositories {
36+
// maven {
37+
// //当前项目根目录
38+
// url = uri("$rootDir/repo")
4239
// }
4340
// }
41+
42+
publishing{
43+
publications{
44+
create<MavenPublication>("mavenJava"){
45+
groupId = "com.github.luiox"
46+
artifactId = "morpher-api"
47+
version = "1.6"
48+
49+
artifact(jar)
50+
}
51+
}
52+
}
4453
}
4554

4655

0 commit comments

Comments
 (0)