From 119c5c3491618b9bc09ffd78ca8d2accfa317f46 Mon Sep 17 00:00:00 2001 From: Robinson Date: Wed, 18 Jan 2023 21:39:44 +0100 Subject: [PATCH] Added OSHI, updated version --- build.gradle.kts | 2 +- src/dorkbox/license/AppLicensing.kt | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 9f86d21..7f5b1e9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -36,7 +36,7 @@ object Extras { // set for the project const val description = "License definitions and legal management plugin for the Gradle build system" const val group = "com.dorkbox" - const val version = "2.19" + const val version = "2.19.1" // set as project.ext const val name = "Gradle Licensing Plugin" diff --git a/src/dorkbox/license/AppLicensing.kt b/src/dorkbox/license/AppLicensing.kt index 8b859f1..53a452f 100644 --- a/src/dorkbox/license/AppLicensing.kt +++ b/src/dorkbox/license/AppLicensing.kt @@ -860,6 +860,18 @@ object AppLicensing { url("https://netty.io") } }), + L("com.github.oshi:oshi-core-java11", + LicenseData("Brotli4j", License.APACHE_2).apply { + description("Operating System and Hardware Information library for Java.") + author("Aayush Atharva") + url("https://github.com/oshi/oshi") + }), + L("com.github.oshi:oshi-core", + LicenseData("OSHI", License.MIT).apply { + description("Operating System and Hardware Information library for Java.") + author("Aayush Atharva") + url("https://github.com/oshi/oshi") + }), ) // NOTE: the END copyright for these are determined by the DATE of the files!