Skip to content

Commit

Permalink
Merge pull request #1 from siordache-forks/issue#106
Browse files Browse the repository at this point in the history
fix badass-jlink/issue-106: package com.fasterxml.jackson does not exist
  • Loading branch information
xp-vit committed Feb 27, 2020
2 parents 1bfb766 + 1760f4f commit e42f4ea
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,23 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
}

/*
jlink {
addExtraDependencies("com.fasterxml.jackson")
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
launcher {
name = 'hellofx'
customImage {
appModules = ['com.example.merged.module']
}
jvmArgs = [
'--add-reads', 'com.example.merged.module=com.example',
'--add-reads', 'com.example.merged.module=testjlink',
'-cp', '../app/*'
]
}
forceMerge "controlsfx", "bcprov", "jaxb", "javax", "istack", "stax", "log4j", "spring", "com.fasterxml.jackson"
}*/
mergedModule {
additive = true
uses 'ch.qos.logback.classic.spi.Configurator'
uses 'javax.validation.valueextraction.ValueExtractor'
uses 'javax.validation.ConstraintValidator'
}
forceMerge 'jackson', 'log4j'
}

0 comments on commit e42f4ea

Please sign in to comment.