Updated version info, added licenses.

This commit is contained in:
Robinson 2021-09-20 03:27:07 +02:00
parent ee4939ae4a
commit b0af0544e9
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
3 changed files with 60 additions and 16 deletions

16
LICENSE
View File

@ -5,6 +5,22 @@
Dorkbox LLC
Extra license information
- AhoCorasickDoubleArrayTrie - Vaadin support for the Undertow web server
[The Apache Software License, Version 2.0]
https://github.com/hankcs/AhoCorasickDoubleArrayTrie
Copyright 2018
hankcs <me@hankcs.com>
- Spring Boot - Undertow utility files
[The Apache Software License, Version 2.0]
https://github.com/spring-projects/spring-boot/tree/main/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow
- StubbornJava - Unconventional Java code for building web servers / services without a framework
[MIT License]
https://github.com/StubbornJava/StubbornJava
Copyright 2017
Bill O'Neil
- Kotlin -
[The Apache Software License, Version 2.0]
https://github.com/JetBrains/kotlin

View File

@ -23,7 +23,7 @@ Maven Info
<dependency>
<groupId>com.dorkbox</groupId>
<artifactId>VaadinUndertow</artifactId>
<version>1.0</version>
<version>0.1</version>
</dependency>
</dependencies>
```
@ -33,7 +33,7 @@ Gradle Info
```
dependencies {
...
implementation "com.dorkbox:VaadinUndertow:1.0"
implementation "com.dorkbox:VaadinUndertow:0.1"
}
````

View File

@ -14,19 +14,19 @@
* limitations under the License.
*/
import dorkbox.gradle.kotlin
import java.time.Instant
///////////////////////////////
////// PUBLISH TO SONATYPE / MAVEN CENTRAL
////// TESTING : (to local maven repo) <'publish and release' - 'publishToMavenLocal'>
////// RELEASE : (to sonatype/maven central), <'publish and release' - 'publishToSonatypeAndRelease'>
///////////////////////////////
import dorkbox.gradle.kotlin
import java.time.Instant
gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS // always show the stacktrace!
plugins {
id("com.dorkbox.GradleUtils") version "2.9"
id("com.dorkbox.GradleUtils") version "2.11"
id("com.dorkbox.Licensing") version "2.9"
id("com.dorkbox.VersionUpdate") version "2.3"
id("com.dorkbox.GradlePublish") version "1.11"
@ -66,13 +66,26 @@ licensing {
description(Extras.description)
author(Extras.vendor)
url(Extras.url)
}
// add undertow?
// add jboss
// add ahoCoasick
// * AhoCorasickDoubleArrayTrie Project
// * https://github.com/hankcs/AhoCorasickDoubleArrayTrie
extra("AhoCorasickDoubleArrayTrie", License.APACHE_2) {
description(Extras.description)
copyright(2018)
author("hankcs <me@hankcs.com>")
url("https://github.com/hankcs/AhoCorasickDoubleArrayTrie")
}
extra("Spring Boot", License.APACHE_2) {
description("Undertow utility files")
url("https://github.com/spring-projects/spring-boot/tree/main/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow")
}
extra("StubbornJava", License.MIT) {
description("Unconventional Java code for building web servers / services without a framework")
copyright(2017)
author("Bill O'Neil")
url("https://github.com/StubbornJava/StubbornJava")
}
}
}
@ -84,12 +97,27 @@ sourceSets {
// want to include java+kotlin files for the source. 'setSrcDirs' resets includes...
include("**/*.java", "**/*.kt")
}
}
}
kotlin {
setSrcDirs(listOf("src"))
kotlin {
sourceSets {
main {
kotlin {
setSrcDirs(listOf("src"))
// want to include kotlin files for the source. 'setSrcDirs' resets includes...
include("**/*.java", "**/*.kt")
// want to include kotlin files for the source. 'setSrcDirs' resets includes...
include("**/*.java", "**/*.kt")
}
}
test {
kotlin {
setSrcDirs(listOf("test"))
// want to include kotlin files for the source. 'setSrcDirs' resets includes...
include("**/*.java", "**/*.kt")
}
}
}
}