-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (37 loc) · 1.27 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
plugins {
id 'org.cadixdev.licenser' version '0.6.1' apply false
}
defaultTasks 'build', 'checkLicenses', 'shadowJar'
allprojects {
group "dev.ein.cloudnet.module.management-socket"
version = "1.1-RELEASE"
repositories {
mavenCentral()
maven { url = 'https://repo.cloudnetservice.eu/repository/releases/' }
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots/' }
}
project.ext {
dependencyVersionCloudNet = '3.4.5-RELEASE'
dependencyVersionLombok = '1.18.22'
dependencyVersionJunixSocket = '2.8.3'
cliFile = 'cloudnet-client.jar'
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'org.cadixdev.licenser'
compileJava {
options.encoding = 'UTF-8'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compileOnly group: 'org.projectlombok', name: 'lombok', version: dependencyVersionLombok
annotationProcessor group: 'org.projectlombok', name: 'lombok', version: dependencyVersionLombok
implementation group: 'com.kohlschutter.junixsocket', name: 'junixsocket-core', version: dependencyVersionJunixSocket
}
license {
include '**/*.java'
header = project.rootProject.file('LICENSE_HEADER')
}
}