-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (49 loc) · 1.85 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
buildscript {
repositories {
maven { url 'http://repo.spring.io/plugins-release' }
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.4.0.RELEASE")
classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.7'
}
}
allprojects {
group 'com.jacknolfskin.htool'
version '1.0.0-RELEASE'
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: "spring-boot"
apply plugin: 'propdeps'
apply plugin: 'propdeps-idea'
sourceCompatibility = 1.8
[compileJava, compileTestJava, javadoc]*.options*.encoding = 'UTF-8'
task "create-dirs" << {
sourceSets*.java.srcDirs*.each { it.mkdirs() }
sourceSets*.resources.srcDirs*.each { it.mkdirs() }
}
repositories {
mavenLocal()
mavenCentral()
}
uploadArchives {
repositories {
mavenLocal()
}
}
dependencies {
implementation('org.springframework.boot:spring-boot-starter')
compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.60'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: '2.0.3.RELEASE'
compile group: 'org.apache.directory.studio', name: 'org.apache.commons.codec', version: '1.8'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.8.1'
compile group: 'commons-io', name: 'commons-io', version: '2.6'
compile group: 'commons-codec', name: 'commons-codec', version: '1.11'
compile group: 'org.projectlombok', name: 'lombok', version: '1.18.2'
testImplementation('org.springframework.boot:spring-boot-starter-test')
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
}