version 1.2

master Version_1.2
Robinson 2023-08-19 13:38:52 +02:00
parent 6f0e303d82
commit b9aa924702
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
4 changed files with 14 additions and 15 deletions

12
LICENSE
View File

@ -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

View File

@ -12,7 +12,7 @@ Maven Info
<dependency>
<groupId>com.dorkbox</groupId>
<artifactId>JNA</artifactId>
<version>1.0</version>
<version>1.2</version>
</dependency>
</dependencies>
````
@ -22,7 +22,7 @@ Gradle Info
````
dependencies {
...
compile "com.dorkbox:JNA:1.0"
compile "com.dorkbox:JNA:1.2"
}
````

View File

@ -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")

View File

@ -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<String, Object> options = new HashMap<String, Object>();