-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
62 lines (54 loc) · 1.83 KB
/
build.gradle.kts
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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import io.spring.gradle.dependencymanagement.dsl.DependencyManagementExtension
import org.codehaus.groovy.tools.shell.util.Logger.io
import org.gradle.api.internal.file.pattern.PatternMatcherFactory.compile
import org.gradle.internal.impldep.org.junit.experimental.categories.Categories.CategoryFilter.exclude
import org.gradle.kotlin.dsl.dependencies
import org.gradle.kotlin.dsl.maven
import org.gradle.kotlin.dsl.repositories
import org.gradle.kotlin.dsl.the
import org.jetbrains.kotlin.resolve.calls.model.ResolvedCallArgument.DefaultArgument.arguments
plugins {
id("org.gradle.kotlin.kotlin-dsl").version("0.16.0")
id("com.github.johnrengelman.shadow").version("2.0.3")
id("io.mverse.project").version("0.5.16")
}
repositories {
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots")
maven("http://repo.bstats.org/content/repositories/releases/")
maven("http://repo.dmulloy2.net/nexus/repository/public/")
}
mverse {
groupId = "club.kidgames"
// checkstyleLocation = "/Users/ericm/etc/checkstyle/checkstyle"
modules {
compile("findbugs")
compile("guava")
compile("kotlin-stdlib")
compile("bukkit")
compile("spigot-api")
compile("liqp")
}
coverageRequirement = 0.0
}
findbugs {
isIgnoreFailures = true
}
dependencyManagement {
dependencies {
dependency("club.kidgames:liqp:0.7.13")
dependency("me.clip:PlaceholderAPI:2.5.+")
dependency("org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT")
dependency("org.bukkit:bukkit:1.12.2-R0.1-SNAPSHOT")
}
}
dependencies {
compile("me.clip:PlaceholderAPI")
compileOnly("org.spigotmc:spigot-api")
compileOnly("org.bukkit:bukkit")
}
val shadowJar:ShadowJar by tasks
shadowJar.dependencies {
exclude(dependency(":spigot-api"))
exclude(dependency(":PlaceholderAPI"))
}