I am having issue with gradle kotlin DSL, seems to...
# gradle
a
I am having issue with gradle kotlin DSL, seems to be IDEA-specific because ./gradlew run succeeds form command line but maybe someone here knows workaround. https://stackoverflow.com/questions/55399539/idea-reports-errors-for-shadowjar-task-in-build-gradle-kts-while-gradlew-run
n
seems all correct, but what do zou need
compileClasspath
with shadowjar for ? thats the only thing i do not recognize that might confuse idea
also i use idea 2018.3.5, maybe they messed up some gradle integration with 2019.1
a
what do zou need
compileClasspath
with shadowjar for ?
yes! i have just commented out this block and IDEA is now ok most likely i blindly copy-pasted shadowJar config from here https://github.com/johnrengelman/shadow/issues/396 thanks @Nikky
n
that is for shadowJar 2.x, we are at 4.x, soon 5.0.0 for gradle 5.+
i also replied on stackoverflow for completeness
a
👍 thanks again!