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 a371c1d commit bd6d848Copy full SHA for bd6d848
build.gradle
@@ -1,6 +1,7 @@
1
plugins {
2
id 'java'
3
id 'maven'
4
+ id 'maven-publish'
5
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
6
}
7
@@ -32,4 +33,22 @@ compileTestKotlin {
32
33
34
test {
35
useJUnitPlatform()
36
+}
37
+
38
+publishing {
39
+ repositories {
40
+ maven {
41
+ name = "GitHubPackages"
42
+ url = uri("https://maven.pkg.github.com/Project5E/quinine")
43
+ credentials {
44
+ username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
45
+ password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
46
+ }
47
48
49
+ publications {
50
+ gpr(MavenPublication) {
51
+ from(components.java)
52
53
54
0 commit comments