vertx-gradle-plugin
vertx-gradle-plugin copied to clipboard
shadowJar task fails
When running the shadowJar
task, it fails with the following error:
Here is my build.gradle
plugins {
id 'io.vertx.vertx-plugin' version '1.3.0'
}
repositories {
mavenCentral()
}
def vertxVersion = '4.2.5'
vertx {
mainVerticle = 'io.github.aloussase.polimarket.App'
vertxVersion = vertxVersion
}
dependencies {
implementation "io.vertx:vertx-core:$vertxVersion"
implementation "io.vertx:vertx-web:$vertxVersion"
implementation "io.vertx:vertx-mail-client:$vertxVersion"
implementation "io.vertx:vertx-redis-client:$vertxVersion"
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.1'
implementation 'org.mindrot:jbcrypt:0.4'
implementation 'org.tinylog:tinylog-impl:2.3.2'
implementation 'org.postgresql:postgresql:42.3.1'
implementation 'org.jdbi:jdbi3-core:3.27.2'
implementation 'org.jdbi:jdbi3-postgres:3.27.2'
}
@jponge https://stackoverflow.com/questions/67377844/no-such-property-count-for-class-com-github-jengelman-gradle-plugins-shadow-tr
The problem is the version of id "com.github.johnrengelman.shadow" as used by this plugin. I think upgrading it to version "7.0.0" might resolve the issue.