-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
36 lines (31 loc) · 945 Bytes
/
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
buildscript {
ext {
springBootVersion = '1.5.9.RELEASE'
mavenPublicURL = "http://maven.aliyun.com/nexus/content/groups/public/"
}
repositories {
maven { url mavenPublicURL}
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
group 'bugcodes.netty.practices'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
sourceCompatibility = 1.8
ext {
mavenPublicURL = "http://maven.aliyun.com/nexus/content/groups/public/"
}
repositories {
maven { url mavenPublicURL }
mavenCentral()
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
compile group: 'io.netty', name: 'netty-all', version: '4.1.31.Final'
testCompile group: 'junit', name: 'junit', version: '4.12'
}