Advertisement
xeritt

grudle jackson

Jul 25th, 2018
135
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apply plugin: "java"
  2. apply plugin: "application"
  3.  
  4. mainClassName = "JacksonSimple"
  5.  
  6. repositories {
  7. mavenCentral()
  8. }
  9.  
  10. dependencies {
  11. compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.6'
  12. }
  13.  
  14. jar {
  15. manifest.attributes("Main-Class": mainClassName);
  16. }
  17.  
  18. task wrapper(type: Wrapper) {
  19. gradleVersion = '2.10'
  20. }
Advertisement
RAW Paste Data Copied
Advertisement