Repository navigation
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
69 lines (64 loc) · 1.96 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
69 lines (64 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
plugins {
alias(libs.plugins.com.vanniktech.maven.publish)
}
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
dependencies {
implementation(project(":data"))
annotationProcessor(libs.lombok)
compileOnly(libs.lombok)
compileOnly(libs.jetbrains.annotations)
compileOnly(libs.slf4j.api)
implementation(libs.jsonapi.converter)
implementation(libs.q.builders)
testAnnotationProcessor(libs.lombok)
testCompileOnly(libs.lombok)
testImplementation(platform(libs.junit.bom))
testRuntimeOnly(libs.junit.platform.launcher)
testImplementation(libs.junit.jupiter)
testImplementation(libs.hamcrest.core)
testImplementation(libs.mockito.core)
testImplementation(libs.mockito.junit.jupiter)
testImplementation(libs.pojo.tester)
testCompileOnly(libs.jetbrains.annotations)
}
mavenPublishing {
if (project.hasProperty("mavenCentralUsername")) {
publishToMavenCentral()
}
if (project.hasProperty("signingInMemoryKey")) {
signAllPublications()
}
coordinates("com.faforever.commons", "api", project.version.toString())
// Configure POM metadata
pom {
name.set("api")
description.set("API DTOs for FAForever Java API")
url.set("https://github.com/FAForever/faf-java-commons")
licenses {
license {
name.set("MIT")
url.set("https://www.opensource.org/licenses/mit-license.php")
}
}
developers {
developer {
id.set("Brutus5000")
name.set("Brutus5000")
organization.set("FAForever")
organizationUrl.set("https://github.com/FAForever")
}
}
scm {
url.set("https://github.com/FAForever/faf-java-commons")
connection.set("scm:git:https://github.com/FAForever/faf-java-commons")
developerConnection.set("scm:git:https://github.com/FAForever/faf-java-commons")
}
issueManagement {
system.set("GitHub")
url.set("https://github.com/FAForever/faf-java-commons/issues")
}
}
}