-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
35 lines (27 loc) · 803 Bytes
/
build.gradle
File metadata and controls
35 lines (27 loc) · 803 Bytes
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'
id 'idea'
id 'org.spongepowered.plugin' version '0.8.1'
id 'ninja.miserable.blossom' version '1.0.1'
id 'net.minecrell.licenser' version '0.4'
}
defaultTasks 'clean', 'updateLicenseMain'
compileJava.options.encoding = 'UTF-8'
repositories {
jcenter()
}
dependencies {
compile 'org.spongepowered:spongeapi:' + project.spongeVersion
}
license {
header = project.file('HEADER.txt')
include '**/*.java'
}
blossom {
def location = 'src/main/java/com/meronat/latch/Info.java'
replaceToken '@id@', project.id, location
replaceToken '@name@', project.name, location
replaceToken '@version@', project.version, location
replaceToken '@description@', project.description, location
replaceToken '@url@', project.url, location
}