We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 252163b commit 3ecc004Copy full SHA for 3ecc004
eco-core/core-plugin/build.gradle.kts
@@ -9,9 +9,23 @@ dependencies {
9
10
publishing {
11
publications {
12
- register("maven", MavenPublication::class) {
13
- from(components["java"])
+ register<MavenPublication>("maven") {
+ groupId = project.group.toString()
14
+ version = project.version.toString()
15
artifactId = rootProject.name
16
+
17
+ artifact(rootProject.tasks.shadowJar.get().archiveFile)
18
+ }
19
20
21
+ repositories {
22
+ maven {
23
+ name = "auxilor"
24
+ url = uri("https://repo.auxilor.io/repository/maven-releases/")
25
+ credentials {
26
+ username = System.getenv("MAVEN_USERNAME")
27
+ password = System.getenv("MAVEN_PASSWORD")
28
29
}
30
31
0 commit comments