We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58f2a03 commit 46c5450Copy full SHA for 46c5450
build.gradle.kts
@@ -1,6 +1,7 @@
1
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2
3
plugins {
4
+ id("maven-publish")
5
kotlin("jvm") version "1.6.21"
6
application
7
}
@@ -29,6 +30,25 @@ tasks.withType<Test> {
29
30
useJUnitPlatform()
31
32
33
+publishing {
34
+ repositories {
35
+ maven {
36
+ name = "GitHubPackages"
37
+ url = uri("https://maven.pkg.github.com/PureFuncInc/emoji-jvm-string")
38
+ credentials {
39
+ username = "Pure-Func-Inc"
40
+ password = System.getenv("GITHUB_PUBLISH_TOKEN")
41
+ }
42
43
44
+
45
+ publications {
46
+ create<MavenPublication>("maven") {
47
+ from(components["java"])
48
49
50
+}
51
52
application {
53
mainClass.set("net.purefunc.generate.MainKt")
54
0 commit comments