-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
67 lines (54 loc) · 1.9 KB
/
build.gradle.kts
File metadata and controls
67 lines (54 loc) · 1.9 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
plugins {
`java-library`
`maven-publish`
id("com.gradle.plugin-publish") version "2.1.1"
}
group = "studio.o7"
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
compileOnly("org.projectlombok:lombok:1.18.44")
annotationProcessor("org.projectlombok:lombok:1.18.44")
implementation("org.yaml:snakeyaml:2.6")
implementation("com.gradleup.shadow:shadow-gradle-plugin:9.4.1")
implementation("net.thebugmc.gradle.sonatype-central-portal-publisher:net.thebugmc.gradle.sonatype-central-portal-publisher.gradle.plugin:1.2.4")
implementation("org.cthing.build-constants:org.cthing.build-constants.gradle.plugin:2.1.0")
compileOnly(gradleApi())
testImplementation(gradleTestKit())
testImplementation("org.junit.jupiter:junit-jupiter-api:6.0.3")
testImplementation("org.junit.jupiter:junit-jupiter:6.0.3")
testImplementation("org.junit.jupiter:junit-jupiter-params:6.0.3")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:6.0.3")
testRuntimeOnly("org.junit.platform:junit-platform-launcher:6.0.3")
testImplementation("org.assertj:assertj-core:3.27.7")
testImplementation("org.cthing:assertj-gradle:3.0.0")
}
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")
}
}
tasks.test {
useJUnitPlatform()
}
publishing {
repositories {
mavenLocal()
}
publications {
create<MavenPublication>("pluginMaven")
}
}
java {
withSourcesJar()
withJavadocJar()
toolchain.languageVersion.set(JavaLanguageVersion.of(25))
}