Updated gradle, updated build deps.
parent
54646207bf
commit
a79113db2c
326
LICENSE
326
LICENSE
|
@ -33,6 +33,169 @@
|
||||||
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
|
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
|
||||||
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
|
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
|
||||||
|
|
||||||
|
- NetworkUtils - Utilities for managing network configurations, IP/MAC address conversion, and ping (via OS native commands)
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://git.dorkbox.com/dorkbox/NetworkUtils
|
||||||
|
Copyright 2022
|
||||||
|
Dorkbox LLC
|
||||||
|
|
||||||
|
Extra license information
|
||||||
|
- Netty -
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://netty.io/
|
||||||
|
Copyright 2014
|
||||||
|
The Netty Project
|
||||||
|
This product contains a modified portion of Netty Network Utils
|
||||||
|
|
||||||
|
- Apache Harmony -
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
http://archive.apache.org/dist/harmony/
|
||||||
|
Copyright 2010
|
||||||
|
The Apache Software Foundation
|
||||||
|
This product contains a modified portion of 'Apache Harmony', an open source Java SE
|
||||||
|
|
||||||
|
- Apache HTTP Utils -
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpclient5/src/main/java/org/apache/hc/client5/http/psl/
|
||||||
|
Copyright 2010
|
||||||
|
The Apache Software Foundation
|
||||||
|
This product contains a modified portion of 'PublicSuffixDomainFilter.java'
|
||||||
|
|
||||||
|
- SLF4J - Simple facade or abstraction for various logging frameworks
|
||||||
|
[MIT License]
|
||||||
|
http://www.slf4j.org
|
||||||
|
Copyright 2022
|
||||||
|
QOS.ch
|
||||||
|
|
||||||
|
- JNA - Simplified native library access for Java.
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://github.com/twall/jna
|
||||||
|
Copyright 2022
|
||||||
|
Timothy Wall
|
||||||
|
|
||||||
|
- JNA-Platform - Mappings for a number of commonly used platform functions
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://github.com/twall/jna
|
||||||
|
Copyright 2022
|
||||||
|
Timothy Wall
|
||||||
|
|
||||||
|
- Kotlin -
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://github.com/JetBrains/kotlin
|
||||||
|
Copyright 2020
|
||||||
|
JetBrains s.r.o. and Kotlin Programming Language contributors
|
||||||
|
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
|
||||||
|
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
|
||||||
|
|
||||||
|
- Executor - Shell, JVM, and SSH command execution on Linux, MacOS, or Windows for Java 8+
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://git.dorkbox.com/dorkbox/Executor
|
||||||
|
Copyright 2022
|
||||||
|
Dorkbox LLC
|
||||||
|
|
||||||
|
Extra license information
|
||||||
|
- ZT Process Executor -
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://github.com/zeroturnaround/zt-exec
|
||||||
|
Copyright 2014
|
||||||
|
ZeroTurnaround LLC
|
||||||
|
|
||||||
|
- Apache Commons Exec -
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://commons.apache.org/proper/commons-exec/
|
||||||
|
Copyright 2014
|
||||||
|
The Apache Software Foundation
|
||||||
|
|
||||||
|
- Kotlin -
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://github.com/JetBrains/kotlin
|
||||||
|
Copyright 2020
|
||||||
|
JetBrains s.r.o. and Kotlin Programming Language contributors
|
||||||
|
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
|
||||||
|
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
|
||||||
|
|
||||||
|
- kotlinx.coroutines - Library support for Kotlin coroutines with multiplatform support
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://github.com/Kotlin/kotlinx.coroutines
|
||||||
|
Copyright 2022
|
||||||
|
JetBrains s.r.o.
|
||||||
|
|
||||||
|
- SLF4J - Simple facade or abstraction for various logging frameworks
|
||||||
|
[MIT License]
|
||||||
|
http://www.slf4j.org
|
||||||
|
Copyright 2022
|
||||||
|
QOS.ch
|
||||||
|
|
||||||
|
- Logback - Logback is a logging framework for Java applications
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
http://logback.qos.ch
|
||||||
|
Copyright 2022
|
||||||
|
QOS.ch
|
||||||
|
|
||||||
|
- SSHJ - SSHv2 library for Java
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://github.com/hierynomus/sshj
|
||||||
|
Copyright 2022
|
||||||
|
Jeroen van Erp
|
||||||
|
SSHJ Contributors
|
||||||
|
|
||||||
|
Extra license information
|
||||||
|
- Apache MINA -
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://mina.apache.org/sshd-project/
|
||||||
|
The Apache Software Foundation
|
||||||
|
|
||||||
|
- Apache Commons-Net -
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://commons.apache.org/proper/commons-net/
|
||||||
|
The Apache Software Foundation
|
||||||
|
|
||||||
|
- JZlib -
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
http://www.jcraft.com/jzlib
|
||||||
|
Atsuhiko Yamanaka
|
||||||
|
JCraft, Inc.
|
||||||
|
|
||||||
|
- Bouncy Castle Crypto -
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
http://www.bouncycastle.org
|
||||||
|
The Legion of the Bouncy Castle Inc
|
||||||
|
|
||||||
|
- ed25519-java -
|
||||||
|
[Public Domain, per Creative Commons CC0]
|
||||||
|
https://github.com/str4d/ed25519-java
|
||||||
|
https://github.com/str4d
|
||||||
|
|
||||||
|
- Updates - Software Update Management
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://git.dorkbox.com/dorkbox/Updates
|
||||||
|
Copyright 2021
|
||||||
|
Dorkbox LLC
|
||||||
|
|
||||||
|
Extra license information
|
||||||
|
- Kotlin -
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://github.com/JetBrains/kotlin
|
||||||
|
Copyright 2020
|
||||||
|
JetBrains s.r.o. and Kotlin Programming Language contributors
|
||||||
|
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
|
||||||
|
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
|
||||||
|
|
||||||
|
- Updates - Software Update Management
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://git.dorkbox.com/dorkbox/Updates
|
||||||
|
Copyright 2021
|
||||||
|
Dorkbox LLC
|
||||||
|
|
||||||
|
Extra license information
|
||||||
|
- Kotlin -
|
||||||
|
[The Apache Software License, Version 2.0]
|
||||||
|
https://github.com/JetBrains/kotlin
|
||||||
|
Copyright 2020
|
||||||
|
JetBrains s.r.o. and Kotlin Programming Language contributors
|
||||||
|
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
|
||||||
|
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
|
||||||
|
|
||||||
- OS - Information about the system, Java runtime, OS, Window Manager, and Desktop Environment.
|
- OS - Information about the system, Java runtime, OS, Window Manager, and Desktop Environment.
|
||||||
[The Apache Software License, Version 2.0]
|
[The Apache Software License, Version 2.0]
|
||||||
https://git.dorkbox.com/dorkbox/OS
|
https://git.dorkbox.com/dorkbox/OS
|
||||||
|
@ -635,166 +798,3 @@
|
||||||
JetBrains s.r.o. and Kotlin Programming Language contributors
|
JetBrains s.r.o. and Kotlin Programming Language contributors
|
||||||
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
|
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
|
||||||
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
|
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
|
||||||
|
|
||||||
- NetworkUtils - Utilities for managing network configurations, IP/MAC address conversion, and ping (via OS native commands)
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://git.dorkbox.com/dorkbox/NetworkUtils
|
|
||||||
Copyright 2022
|
|
||||||
Dorkbox LLC
|
|
||||||
|
|
||||||
Extra license information
|
|
||||||
- Netty -
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://netty.io/
|
|
||||||
Copyright 2014
|
|
||||||
The Netty Project
|
|
||||||
This product contains a modified portion of Netty Network Utils
|
|
||||||
|
|
||||||
- Apache Harmony -
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
http://archive.apache.org/dist/harmony/
|
|
||||||
Copyright 2010
|
|
||||||
The Apache Software Foundation
|
|
||||||
This product contains a modified portion of 'Apache Harmony', an open source Java SE
|
|
||||||
|
|
||||||
- Apache HTTP Utils -
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpclient5/src/main/java/org/apache/hc/client5/http/psl/
|
|
||||||
Copyright 2010
|
|
||||||
The Apache Software Foundation
|
|
||||||
This product contains a modified portion of 'PublicSuffixDomainFilter.java'
|
|
||||||
|
|
||||||
- SLF4J - Simple facade or abstraction for various logging frameworks
|
|
||||||
[MIT License]
|
|
||||||
http://www.slf4j.org
|
|
||||||
Copyright 2022
|
|
||||||
QOS.ch
|
|
||||||
|
|
||||||
- JNA - Simplified native library access for Java.
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://github.com/twall/jna
|
|
||||||
Copyright 2022
|
|
||||||
Timothy Wall
|
|
||||||
|
|
||||||
- JNA-Platform - Mappings for a number of commonly used platform functions
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://github.com/twall/jna
|
|
||||||
Copyright 2022
|
|
||||||
Timothy Wall
|
|
||||||
|
|
||||||
- Kotlin -
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://github.com/JetBrains/kotlin
|
|
||||||
Copyright 2020
|
|
||||||
JetBrains s.r.o. and Kotlin Programming Language contributors
|
|
||||||
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
|
|
||||||
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
|
|
||||||
|
|
||||||
- Executor - Shell, JVM, and SSH command execution on Linux, MacOS, or Windows for Java 8+
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://git.dorkbox.com/dorkbox/Executor
|
|
||||||
Copyright 2022
|
|
||||||
Dorkbox LLC
|
|
||||||
|
|
||||||
Extra license information
|
|
||||||
- ZT Process Executor -
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://github.com/zeroturnaround/zt-exec
|
|
||||||
Copyright 2014
|
|
||||||
ZeroTurnaround LLC
|
|
||||||
|
|
||||||
- Apache Commons Exec -
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://commons.apache.org/proper/commons-exec/
|
|
||||||
Copyright 2014
|
|
||||||
The Apache Software Foundation
|
|
||||||
|
|
||||||
- Kotlin -
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://github.com/JetBrains/kotlin
|
|
||||||
Copyright 2020
|
|
||||||
JetBrains s.r.o. and Kotlin Programming Language contributors
|
|
||||||
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
|
|
||||||
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
|
|
||||||
|
|
||||||
- kotlinx.coroutines - Library support for Kotlin coroutines with multiplatform support
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://github.com/Kotlin/kotlinx.coroutines
|
|
||||||
Copyright 2022
|
|
||||||
JetBrains s.r.o.
|
|
||||||
|
|
||||||
- SLF4J - Simple facade or abstraction for various logging frameworks
|
|
||||||
[MIT License]
|
|
||||||
http://www.slf4j.org
|
|
||||||
Copyright 2022
|
|
||||||
QOS.ch
|
|
||||||
|
|
||||||
- Logback - Logback is a logging framework for Java applications
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
http://logback.qos.ch
|
|
||||||
Copyright 2022
|
|
||||||
QOS.ch
|
|
||||||
|
|
||||||
- SSHJ - SSHv2 library for Java
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://github.com/hierynomus/sshj
|
|
||||||
Copyright 2022
|
|
||||||
Jeroen van Erp
|
|
||||||
SSHJ Contributors
|
|
||||||
|
|
||||||
Extra license information
|
|
||||||
- Apache MINA -
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://mina.apache.org/sshd-project/
|
|
||||||
The Apache Software Foundation
|
|
||||||
|
|
||||||
- Apache Commons-Net -
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://commons.apache.org/proper/commons-net/
|
|
||||||
The Apache Software Foundation
|
|
||||||
|
|
||||||
- JZlib -
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
http://www.jcraft.com/jzlib
|
|
||||||
Atsuhiko Yamanaka
|
|
||||||
JCraft, Inc.
|
|
||||||
|
|
||||||
- Bouncy Castle Crypto -
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
http://www.bouncycastle.org
|
|
||||||
The Legion of the Bouncy Castle Inc
|
|
||||||
|
|
||||||
- ed25519-java -
|
|
||||||
[Public Domain, per Creative Commons CC0]
|
|
||||||
https://github.com/str4d/ed25519-java
|
|
||||||
https://github.com/str4d
|
|
||||||
|
|
||||||
- Updates - Software Update Management
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://git.dorkbox.com/dorkbox/Updates
|
|
||||||
Copyright 2021
|
|
||||||
Dorkbox LLC
|
|
||||||
|
|
||||||
Extra license information
|
|
||||||
- Kotlin -
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://github.com/JetBrains/kotlin
|
|
||||||
Copyright 2020
|
|
||||||
JetBrains s.r.o. and Kotlin Programming Language contributors
|
|
||||||
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
|
|
||||||
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
|
|
||||||
|
|
||||||
- Updates - Software Update Management
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://git.dorkbox.com/dorkbox/Updates
|
|
||||||
Copyright 2021
|
|
||||||
Dorkbox LLC
|
|
||||||
|
|
||||||
Extra license information
|
|
||||||
- Kotlin -
|
|
||||||
[The Apache Software License, Version 2.0]
|
|
||||||
https://github.com/JetBrains/kotlin
|
|
||||||
Copyright 2020
|
|
||||||
JetBrains s.r.o. and Kotlin Programming Language contributors
|
|
||||||
Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply
|
|
||||||
See: https://github.com/JetBrains/kotlin/blob/master/license/README.md
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ Maven Info
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.dorkbox</groupId>
|
<groupId>com.dorkbox</groupId>
|
||||||
<artifactId>NetworkDNS</artifactId>
|
<artifactId>NetworkDNS</artifactId>
|
||||||
<version>2.7.1</version>
|
<version>2.7.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
```
|
```
|
||||||
|
@ -27,7 +27,7 @@ Gradle Info
|
||||||
```
|
```
|
||||||
dependencies {
|
dependencies {
|
||||||
...
|
...
|
||||||
implementation("com.dorkbox:NetworkDNS:2.7.1")
|
implementation("com.dorkbox:NetworkDNS:2.7.2")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -25,19 +25,19 @@ import java.time.Instant
|
||||||
gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS // always show the stacktrace!
|
gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS // always show the stacktrace!
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("com.dorkbox.GradleUtils") version "2.17"
|
id("com.dorkbox.GradleUtils") version "3.3"
|
||||||
id("com.dorkbox.Licensing") version "2.12"
|
id("com.dorkbox.Licensing") version "2.17"
|
||||||
id("com.dorkbox.VersionUpdate") version "2.5"
|
id("com.dorkbox.VersionUpdate") version "2.5"
|
||||||
id("com.dorkbox.GradlePublish") version "1.12"
|
id("com.dorkbox.GradlePublish") version "1.13"
|
||||||
|
|
||||||
kotlin("jvm") version "1.6.10"
|
kotlin("jvm") version "1.7.20"
|
||||||
}
|
}
|
||||||
|
|
||||||
object Extras {
|
object Extras {
|
||||||
// set for the project
|
// set for the project
|
||||||
const val description = "High-performance and event-driven/reactive DNS stack for Java 8+"
|
const val description = "High-performance and event-driven/reactive DNS stack for Java 8+"
|
||||||
const val group = "com.dorkbox"
|
const val group = "com.dorkbox"
|
||||||
const val version = "2.7.1"
|
const val version = "2.7.2"
|
||||||
|
|
||||||
// set as project.ext
|
// set as project.ext
|
||||||
const val name = "NetworkDNS"
|
const val name = "NetworkDNS"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
|
@ -84,7 +84,7 @@ class DnsClient(nameServerAddresses: Collection<InetSocketAddress?>? = defaultNa
|
||||||
/**
|
/**
|
||||||
* Gets the version number.
|
* Gets the version number.
|
||||||
*/
|
*/
|
||||||
val version = "2.7.1"
|
val version = "2.7.2"
|
||||||
|
|
||||||
init {
|
init {
|
||||||
// Add this project to the updates system, which verifies this class + UUID + version information
|
// Add this project to the updates system, which verifies this class + UUID + version information
|
||||||
|
|
|
@ -69,7 +69,7 @@ class DnsServer(host: String?, tcpPort: Int) : Shutdownable(DnsServer::class.jav
|
||||||
/**
|
/**
|
||||||
* Gets the version number.
|
* Gets the version number.
|
||||||
*/
|
*/
|
||||||
val version = "2.7.1"
|
val version = "2.7.2"
|
||||||
|
|
||||||
var workerThreadPoolSize = (Runtime.getRuntime().availableProcessors() / 2).coerceAtLeast(1)
|
var workerThreadPoolSize = (Runtime.getRuntime().availableProcessors() / 2).coerceAtLeast(1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue