Compare commits

...

5 Commits

Author SHA1 Message Date
Robinson 1c3a54ae22
Merge remote-tracking branch 'origin/master' 2023-10-11 12:17:11 +02:00
Robinson 4b212e2e08
Updated build deps 2023-10-09 12:32:05 +02:00
Robinson 86fb06e8e7
Updated build deps 2023-10-02 23:59:23 +02:00
Robinson 1e3db0d1ad
Version 2.16 2023-10-02 23:49:13 +02:00
Robinson c9755c6c82
NamedThreadFactory is now internal 2023-10-02 16:10:59 +02:00
6 changed files with 19 additions and 19 deletions

12
LICENSE
View File

@ -19,12 +19,6 @@
The Netty Project
Contributors. See source NOTICE
- 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
@ -33,6 +27,12 @@
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
- SLF4J - Simple facade or abstraction for various logging frameworks
[MIT License]
https://www.slf4j.org
Copyright 2023
QOS.ch
- Collections - Collection types and utilities to enhance the default collections.
[The Apache Software License, Version 2.0]
https://git.dorkbox.com/dorkbox/Collections

View File

@ -17,7 +17,7 @@ Maven Info
<dependency>
<groupId>com.dorkbox</groupId>
<artifactId>NetworkDNS</artifactId>
<version>2.15</version>
<version>2.16</version>
</dependency>
</dependencies>
```
@ -27,7 +27,7 @@ Gradle Info
```
dependencies {
...
implementation("com.dorkbox:NetworkDNS:2.15")
implementation("com.dorkbox:NetworkDNS:2.16")
}
```

View File

@ -25,19 +25,19 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS // always show the stacktrace!
plugins {
id("com.dorkbox.GradleUtils") version "3.17"
id("com.dorkbox.Licensing") version "2.26"
id("com.dorkbox.GradleUtils") version "3.18"
id("com.dorkbox.Licensing") version "2.28"
id("com.dorkbox.VersionUpdate") version "2.8"
id("com.dorkbox.GradlePublish") version "1.18"
id("com.dorkbox.GradlePublish") version "1.20"
kotlin("jvm") version "1.8.0"
kotlin("jvm") version "1.9.0"
}
object Extras {
// set for the project
const val description = "High-performance and event-driven/reactive DNS stack for Java 8+"
const val group = "com.dorkbox"
const val version = "2.15"
const val version = "2.16"
// set as project.ext
const val name = "NetworkDNS"
@ -85,19 +85,19 @@ tasks.jar.get().apply {
}
dependencies {
api("com.dorkbox:Collections:2.5")
api("com.dorkbox:Collections:2.6")
api("com.dorkbox:NetworkUtils:2.23")
api("com.dorkbox:OS:1.8")
api("com.dorkbox:Updates:1.1")
val nettyVer = "4.1.97.Final"
val nettyVer = "4.1.99.Final"
api("io.netty:netty-buffer:$nettyVer")
api("io.netty:netty-transport:$nettyVer")
api("io.netty:netty-transport-native-epoll:$nettyVer")
api("io.netty:netty-transport-classes-kqueue:$nettyVer")
api("io.netty:netty-codec:$nettyVer")
implementation("org.slf4j:slf4j-api:2.0.7")
implementation("org.slf4j:slf4j-api:2.0.9")
testImplementation("junit:junit:4.13.2")
testImplementation("ch.qos.logback:logback-classic:1.4.5")

View File

@ -84,7 +84,7 @@ class DnsClient(nameServerAddresses: Collection<InetSocketAddress?>? = defaultNa
/**
* Gets the version number.
*/
const val version = "2.15"
const val version = "2.16"
init {
// Add this project to the updates system, which verifies this class + UUID + version information

View File

@ -65,7 +65,7 @@ class DnsServer(host: String?, tcpPort: Int) : Shutdownable(DnsServer::class.jav
/**
* Gets the version number.
*/
const val version = "2.15"
const val version = "2.16"
var workerThreadPoolSize = (Runtime.getRuntime().availableProcessors() / 2).coerceAtLeast(1)

View File

@ -22,7 +22,7 @@ import java.util.concurrent.atomic.*
/**
* The default thread factory with names and daemon state
*/
class NamedThreadFactory(
internal class NamedThreadFactory(
/** @param namePrefix what you want the subsequent threads to be named. */
val namePrefix: String,