-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
44 lines (36 loc) · 1.11 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
plugins {
id 'idea'
id 'com.github.ben-manes.versions' version '0.39.0'
id 'com.github.johnrengelman.shadow' version '6.0.0' apply false
}
allprojects {
dependencyUpdates.resolutionStrategy = {
componentSelection { rules ->
rules.all { ComponentSelection selection ->
if (['alpha', 'beta', 'rc', 'cr', 'm'].any { qualifier -> selection.candidate.version ==~ /(?i).*[.-]${qualifier}[.\d-]*/ }) {
selection.reject('Release candidate')
}
}
}
}
}
subprojects {
apply plugin: 'application'
apply plugin: 'com.github.ben-manes.versions'
apply plugin: 'com.github.johnrengelman.shadow'
sourceCompatibility = targetCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
shadowJar { task ->
archiveBaseName = task.project.name.capitalize()
}
repositories {
jcenter()
}
dependencies {
implementation 'org.slf4j:slf4j-api:1.7.25'
implementation 'ch.qos.logback:logback-classic:1.2.3'
}
}
project(':launcher') {
tasks.run.enabled = false
}