Skip to content

Commit 077ab9d

Browse files
committed
Working on jitpack.
1 parent c4e67a0 commit 077ab9d

File tree

2 files changed

+27
-16
lines changed

2 files changed

+27
-16
lines changed

buildSrc/src/main/kotlin/briarcode.publish.gradle.kts

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff 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+
//}

jitpack.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
jdk: openjdk11

0 commit comments

Comments
 (0)