-
-
Notifications
You must be signed in to change notification settings - Fork 211
/
build.gradle
38 lines (32 loc) · 1020 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
36
37
38
plugins {
id "java-gradle-plugin"
id "org.spongepowered.gradle.sponge.dev" version "2.1.1"
}
indra {
javaVersions {
strictVersions(false) // it's just buildscript, no need for anything fancy
}
}
dependencies {
api("com.google.code.gson:gson:2.9.1")
implementation("gradle.plugin.org.jetbrains.gradle.plugin.idea-ext:gradle-idea-ext:1.1.6")
}
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"
}
templateResources {
id = "templated-resources"
implementationClass = "org.spongepowered.gradle.impl.TemplatedResourcesPlugin"
}
}
}