forked from twh2898/God-Craft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
46 lines (36 loc) · 1.17 KB
/
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
39
40
41
42
43
44
45
46
import org.apache.tools.ant.filters.ReplaceTokens
buildscript {
ext.kotlin_version = '1.0.6'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'java'
}
apply plugin: 'kotlin'
group = 'co.orre'
version = '2.0.2'
description = """Useful and fun tools to let you rule your server like a god!"""
ext.url = 'https://dev.bukkit.org/projects/goddess-craft'
repositories {
maven { url 'https://maven-central.storage.googleapis.com' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
jcenter()
}
dependencies {
compile group: 'org.spigotmc', name: 'spigot-api', version:'1.11.2-R0.1-SNAPSHOT'
compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version:'1.0.0-rc-1036'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
processResources {
filter ReplaceTokens, tokens: [
'DESCRIPTION': project.property('description'),
'URL': project.property('url'),
'VERSION': project.property('version')
]
}