-
-
Notifications
You must be signed in to change notification settings - Fork 213
/
Copy pathbuild.gradle
35 lines (29 loc) · 867 Bytes
/
build.gradle
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
plugins {
id "java-gradle-plugin"
alias apiLibs.plugins.spongeGradle.convention
}
indra {
javaVersions {
strictVersions(false) // it's just buildscript, no need for anything fancy
target(17)
}
}
dependencies {
api(apiLibs.gson)
implementation("gradle.plugin.org.jetbrains.gradle.plugin.idea-ext:gradle-idea-ext:${apiLibs.versions.ideaExt.get()}")
}
indraSpotlessLicenser {
def parentProject = gradle.parent.rootProject
licenseHeaderFile(parentProject.file('HEADER.txt'))
property("name", "Sponge")
property("organization", parentProject.ext.organization)
property("url", parentProject.ext.projectUrl)
}
gradlePlugin {
plugins {
impl {
id = "implementation-structure"
implementationClass = "org.spongepowered.gradle.impl.SpongeImplementationPlugin"
}
}
}