Skip to content

Instantly share code, notes, and snippets.

@bennAH
Created September 28, 2016 01:03
Show Gist options
  • Save bennAH/75a9b6ed00a8aff102217dd699067673 to your computer and use it in GitHub Desktop.
Save bennAH/75a9b6ed00a8aff102217dd699067673 to your computer and use it in GitHub Desktop.
netty-json
apply plugin: 'java'
apply plugin: 'eclipse'
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = '1.0'
jar {
manifest {
attributes 'Implementation-Title': 'Protocol Base',
'Implementation-Version': version
}
}
repositories {
mavenCentral()
}
dependencies {
// json
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version:'2.8.1'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version:'2.8.1'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version:'2.8.1'
compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
compile group: 'io.netty', name: 'netty-all', version: '4.1.5.Final'
testCompile group: 'junit', name: 'junit', version: '4.+'
}
test {
systemProperties 'property': 'value'
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment