Maven -> Gradle
This commit is contained in:
43
build.gradle
Normal file
43
build.gradle
Normal file
@@ -0,0 +1,43 @@
|
||||
group 'mc'
|
||||
version '1.0-SNAPSHOT'
|
||||
|
||||
apply plugin: 'java'
|
||||
|
||||
compileJava {
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
ext {
|
||||
slf4j_version = '1.7.21'
|
||||
log4j_version = '2.5'
|
||||
spring_version = '4.2.5.RELEASE'
|
||||
netty_version = '4.1.22.Final'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
/* Logger */
|
||||
compile (group: 'org.slf4j', name: 'slf4j-api', version: slf4j_version)
|
||||
compile (group: 'org.slf4j', name: 'jcl-over-slf4j', version: slf4j_version)
|
||||
compile (group: 'org.apache.logging.log4j', name: 'log4j-core', version: log4j_version)
|
||||
compile (group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: log4j_version)
|
||||
|
||||
/* Spring */
|
||||
compile (group: 'org.springframework', name: 'spring-context', version: spring_version) {
|
||||
exclude group: 'commons-logging'
|
||||
}
|
||||
|
||||
/* Netty */
|
||||
compile (group: 'io.netty', name: 'netty-all', version: netty_version)
|
||||
|
||||
/* Components */
|
||||
compile (group: 'org.projectlombok', name: 'lombok', version: '1.16.16')
|
||||
compile (group: 'commons-io', name: 'commons-io', version: '2.6')
|
||||
compile (group: 'com.google.guava', name: 'guava', version: '24.1-jre')
|
||||
compile (group: 'com.google.code.gson', name: 'gson', version: '2.8.2')
|
||||
}
|
||||
Reference in New Issue
Block a user