Closed Warwolt closed 2 years ago
It is fixed in HEAD, I need to make a release.
On Wed, Nov 3, 2021, 3:32 PM Rasmus Källqvist @.***> wrote:
I'm trying to include the latest version of JNativeHook in my project. My gradle.build looks like the following:
apply plugin: 'java' apply plugin: 'application'
mainClassName = 'com.tennis.Main'
repositories { mavenCentral() }
dependencies { // JUnit testImplementation(platform('org.junit:junit-bom:5.7.2')) testImplementation('org.junit.jupiter:junit-jupiter')
// JNativeHook implementation 'com.github.kwhat:jnativehook:2.2.0'
}
When I try to run a build, I'm getting the following error message:
$ gradle run
Task :compileJava FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':compileJava'.
Could not resolve all files for configuration ':compileClasspath'. Could not resolve com.github.kwhat:jnativehook:2.2.0. Required by: project : Could not resolve com.github.kwhat:jnativehook:2.2.0. inconsistent module metadata found. Descriptor: com.github.kwhat:jnativehook:2.2-SNAPSHOT Errors: bad version: expected='2.2.0' found='2.2-SNAPSHOT'
Is the artifact on the maven repository configured bad or am I missing something in my build.gradle?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kwhat/jnativehook/issues/382, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFFCRG75YPNKDQ2I674VCLUKG2AZANCNFSM5HKCR6WQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I confirm this works again with 2.2.1 now. BTW it was discussed already in the aftermath of #277
I'm trying to include the latest version of JNativeHook in my project. My
gradle.build
looks like the following:When I try to run a build, I'm getting the following error message:
Is the artifact on the maven repository configured bad or am I missing something in my
build.gradle
?