diff --git a/LICENSE b/LICENSE index d669b38..11b4f87 100644 --- a/LICENSE +++ b/LICENSE @@ -5,12 +5,6 @@ Dorkbox LLC Extra license information - - SLF4J - Simple facade or abstraction for various logging frameworks - [MIT License] - https://www.slf4j.org - Copyright 2023 - QOS.ch - - Kotlin - [The Apache Software License, Version 2.0] https://github.com/JetBrains/kotlin @@ -31,6 +25,12 @@ Copyright 2023 Timothy Wall + - SLF4J - Simple facade or abstraction for various logging frameworks + [MIT License] + https://www.slf4j.org + Copyright 2023 + QOS.ch + - OS - Information about the system, Java runtime, OS, Window Manager, and Desktop Environment. [The Apache Software License, Version 2.0] https://git.dorkbox.com/dorkbox/OS diff --git a/README.md b/README.md index 5235d1b..6467536 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Maven Info com.dorkbox JNA - 1.0 + 1.2 ```` @@ -22,7 +22,7 @@ Gradle Info ```` dependencies { ... - compile "com.dorkbox:JNA:1.0" + compile "com.dorkbox:JNA:1.2" } ```` diff --git a/build.gradle.kts b/build.gradle.kts index 0f1f611..c5e544e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -35,7 +35,7 @@ object Extras { // set for the project const val description = "Native JNA extensions for Linux, MacOS, and Windows, Java 1.8+" const val group = "com.dorkbox" - const val version = "1.1" + const val version = "1.2" // set as project.ext const val name = "JNA" @@ -79,12 +79,12 @@ tasks.jar.get().apply { // NOTE: compileOnly is used because there are some classes/dependencies that ARE NOT necessary to be included, UNLESS the user // is actually using that part of the library. If this happens, they will (or should) already be using the dependency) dependencies { - api("com.dorkbox:OS:1.6") + api("com.dorkbox:OS:1.8") api("com.dorkbox:Updates:1.1") - api("org.slf4j:slf4j-api:2.0.7") + implementation("org.slf4j:slf4j-api:2.0.7") - val jnaVersion = "5.12.1" + val jnaVersion = "5.13.0" compileOnly("net.java.dev.jna:jna-jpms:$jnaVersion") compileOnly("net.java.dev.jna:jna-platform-jpms:$jnaVersion") diff --git a/src/dorkbox/jna/JNA.java b/src/dorkbox/jna/JNA.java index f6a6437..f36dca2 100644 --- a/src/dorkbox/jna/JNA.java +++ b/src/dorkbox/jna/JNA.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 dorkbox, llc + * Copyright 2023 dorkbox, llc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ class JNA { */ public static String getVersion() { - return "1.1"; + return "1.2"; } static { @@ -45,7 +45,6 @@ class JNA { dorkbox.updates.Updates.INSTANCE.add(JNA.class, "b416694a22ed4a1d9e612a1e9b6c76cf", getVersion()); } - @SuppressWarnings("unchecked") public static NativeLibrary register(final String libraryName, final Class clazz) throws IllegalArgumentException { final Map options = new HashMap();