41 lines
815 B
Groovy
41 lines
815 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'maven-publish'
|
|
}
|
|
|
|
java {
|
|
withJavadocJar()
|
|
withSourcesJar()
|
|
}
|
|
|
|
group = 'dev.ubujira'
|
|
version = '0.5.1'
|
|
sourceCompatibility = '17'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
|
|
implementation 'com.google.code.gson:gson:2.9.0'
|
|
implementation 'org.junit.jupiter:junit-jupiter:5.8.2'
|
|
|
|
compileOnly 'org.projectlombok:lombok:1.18.24'
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.24'
|
|
|
|
testCompileOnly 'org.projectlombok:lombok:1.18.24'
|
|
testAnnotationProcessor 'org.projectlombok:lombok:1.18.24'
|
|
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
maven(MavenPublication) {
|
|
groupId = 'dev.ubujira'
|
|
artifactId = 'Galaxus-API'
|
|
|
|
from components.java
|
|
}
|
|
}
|
|
} |