From 5d036017f3d323adb17c11ccdb468019953ae8a3 Mon Sep 17 00:00:00 2001 From: miozune Date: Sat, 6 May 2023 20:49:44 +0900 Subject: [PATCH] Fix crash with Jabel on Windows (#176) --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index c36f816..55fa953 100644 --- a/build.gradle +++ b/build.gradle @@ -222,6 +222,8 @@ if (enableModernJavaSyntax.toBoolean()) { dependencies { annotationProcessor 'com.github.bsideup.jabel:jabel-javac-plugin:1.0.0' + // workaround for https://github.com/bsideup/jabel/issues/174 + annotationProcessor 'net.java.dev.jna:jna-platform:5.13.0' compileOnly('com.github.bsideup.jabel:jabel-javac-plugin:1.0.0') { transitive = false // We only care about the 1 annotation class }