-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
50 lines (41 loc) · 1.03 KB
/
build.gradle.kts
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
plugins {
`java-library`
`maven-publish`
alias(libs.plugins.gradlePublish)
}
group = "studio.o7"
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
compileOnly(libs.lombok)
annotationProcessor(libs.lombok)
implementation(libs.shadow)
compileOnly(gradleApi())
testImplementation(gradleTestKit())
}
gradlePlugin {
website = "https://github.com/o7studios/remora"
vcsUrl = "https://github.com/o7studios/remora"
plugins.create("remora") {
id = "studio.o7.remora"
implementationClass = "studio.o7.remora.RemoraPlugin"
displayName = "Remora"
description = "o7studios helper plugin for Gradle projects."
tags = listOf("maven", "o7studios", "maven-publish", "sonatype", "lombok", "fastutils")
}
}
publishing {
repositories {
mavenLocal()
}
publications {
create<MavenPublication>("pluginMaven")
}
}
java {
withSourcesJar()
withJavadocJar()
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}