File tree Expand file tree Collapse file tree 2 files changed +27
-16
lines changed
Expand file tree Collapse file tree 2 files changed +27
-16
lines changed Original file line number Diff line number Diff line change @@ -4,23 +4,33 @@ plugins {
44 `maven- publish`
55}
66
7- publishing {
8- publications {
9- create<MavenPublication >(" maven" ) {
10- from(components[" java" ])
7+ afterEvaluate {
8+ publishing {
9+ publications {
10+ create<MavenPublication >(" release" ) {
11+ from(components[" java" ])
12+ }
1113 }
1214 }
13- repositories {
14- maven {
15- url = uri(" $buildDir /local-repository" )
16- }
15+ }
16+
17+ // publishing {
18+ // publications {
19+ // create<MavenPublication>("maven") {
20+ // from(components["java"])
21+ // }
22+ // }
23+ // repositories {
1724// maven {
18- // name = "GitHubPackages"
19- // url = uri("https://maven.pkg.github.com/toddharrison/BriarCode")
20- // credentials {
21- // username = System.getenv("GITHUB_ACTOR")
22- // password = System.getenv("GITHUB_TOKEN")
23- // }
25+ // url = uri("$buildDir/local-repository")
2426// }
25- }
26- }
27+ // // maven {
28+ // // name = "GitHubPackages"
29+ // // url = uri("https://maven.pkg.github.com/toddharrison/BriarCode")
30+ // // credentials {
31+ // // username = System.getenv("GITHUB_ACTOR")
32+ // // password = System.getenv("GITHUB_TOKEN")
33+ // // }
34+ // // }
35+ // }
36+ // }
Original file line number Diff line number Diff line change 1+ jdk : openjdk11
You can’t perform that action at this time.
0 commit comments