Skip to content

Commit b765a1c

Browse files
committed
Publish to github
1 parent 10ac257 commit b765a1c

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

convention-plugins/src/main/kotlin/module.publication.gradle.kts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ plugins {
88
}
99

1010
publishing {
11+
repositories {
12+
maven {
13+
name = "GitHubPackages"
14+
url = uri("https://maven.pkg.github.com/sk-ai-net/skainet")
15+
credentials {
16+
username = System.getenv("USERNAME")
17+
password = System.getenv("TOKEN")
18+
}
19+
20+
}
21+
}
1122
// Configure all publications
1223
publications.withType<MavenPublication> {
1324
// Stub javadoc.jar artifact
@@ -19,7 +30,6 @@ publishing {
1930
// Provide artifacts information required by Maven Central
2031
pom {
2132
name.set("skainet - Kotlin Multiplatform library")
22-
2333
licenses {
2434
license {
2535
name.set("MIT")

0 commit comments

Comments
 (0)