-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (55 loc) · 1.53 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
buildscript {
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
jcenter()
}
}
dependencies {
classpath 'gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.14.0'
classpath ("org.junit.platform:junit-platform-gradle-plugin:1.0.1")
}
}
allprojects {
apply plugin: 'com.github.hierynomus.license'
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'idea'
apply plugin: 'eclipse'
task wrapper(type: Wrapper) {
gradleVersion = '4.3.1'
}
group = 'xyz.kvantum'
version = '0.0.3'
description = """Simple java addOn system"""
compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
subprojects {
apply plugin: 'java'
tasks.withType(Jar) {
destinationDir = file("$rootDir/addons");
}
}
repositories {
mavenCentral()
mavenLocal()
}
license {
header rootProject.file('HEADER')
mapping 'java', 'SLASHSTAR_STYLE'
ext.year = 2017
}
dependencies {
compile 'org.projectlombok:lombok:1.16.6'
testCompile 'org.junit.jupiter:junit-jupiter-api:5.0.1'
testCompile(
'org.junit.jupiter:junit-jupiter-engine:5.0.1',
'org.junit.vintage:junit-vintage-engine:4.12.1',
'org.junit.platform:junit-platform-launcher:1.0.1',
'org.junit.platform:junit-platform-runner:1.0.1'
)
}
}