Add support for maven publishing
This commit is contained in:
parent
fa041e2027
commit
b86ff87127
16
build.gradle
16
build.gradle
@ -1,6 +1,7 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'io.freefair.lombok' version '8.10'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
group = 'be.seeseemelk'
|
||||
@ -21,3 +22,18 @@ dependencies {
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
library(MavenPublication) {
|
||||
from components.java
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
maven {
|
||||
name = "Gitea"
|
||||
url = uri("https://gitea.seeseepuff.be/api/packages/llamascript/maven")
|
||||
credentials(PasswordCredentials)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user