-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from Enaium/develop
update to 0.4.0
- Loading branch information
Showing
239 changed files
with
4,700 additions
and
3,234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,90 @@ | ||
allprojects { | ||
group = "cn.enaium" | ||
version = "0.3.0" | ||
plugins { | ||
`java-library` | ||
`maven-publish` | ||
signing | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_21 | ||
targetCompatibility = JavaVersion.VERSION_21 | ||
|
||
withJavadocJar() | ||
withSourcesJar() | ||
} | ||
|
||
group = "cn.enaium" | ||
version = "0.4.0" | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
val springboot: String by project | ||
val annotations: String by project | ||
|
||
dependencies { | ||
implementation("org.jetbrains:annotations:$annotations") | ||
|
||
implementation("org.springframework.boot:spring-boot-starter-webflux:$springboot") | ||
|
||
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor:$springboot") | ||
|
||
testImplementation("org.springframework.boot:spring-boot-starter-test:$springboot") | ||
} | ||
|
||
tasks.test { | ||
useJUnitPlatform() | ||
} | ||
|
||
subprojects { | ||
tasks.withType<JavaCompile> { | ||
options.encoding = "UTF-8" | ||
publishing { | ||
publications { | ||
create<MavenPublication>("mavenJava") { | ||
artifactId = "kook-spring-boot-starter" | ||
from(components["java"]) | ||
|
||
pom { | ||
name.set("kook-spring-boot-starter") | ||
description.set("KOOK机器人的spring-boot-starter") | ||
url.set("https://github.com/Enaium/kook-spring-boot-starter/") | ||
|
||
licenses { | ||
license { | ||
name.set("The Apache License, Version 2.0") | ||
url.set("https://www.apache.org/licenses/LICENSE-2.0.txt") | ||
} | ||
} | ||
developers { | ||
developer { | ||
id.set("enaium") | ||
name.set("Enaium") | ||
email.set("[email protected]") | ||
} | ||
} | ||
scm { | ||
connection.set("scm:git:https://github.com/Enaium/kook-spring-boot-starter.git") | ||
developerConnection.set("scm:git:https://github.com/Enaium/kook-spring-boot-starter.git") | ||
url.set("https://github.com/Enaium/kook-spring-boot-starter/") | ||
} | ||
} | ||
} | ||
} | ||
repositories { | ||
maven { | ||
url = uri( | ||
"https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/" | ||
) | ||
credentials { | ||
username = project.properties["ossrhUsername"].toString() | ||
password = project.properties["ossrhPassword"].toString() | ||
} | ||
} | ||
} | ||
} | ||
|
||
tasks.withType<Javadoc> { | ||
options.encoding = "UTF-8" | ||
signing { | ||
project.properties["signing.secretKeyRingFile"]?.let { | ||
sign(publishing.publications["mavenJava"]) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
springboot=3.2.4 | ||
annotations=24.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#Sun Mar 31 09:49:36 CST 2024 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
jdk: | ||
- openjdk17 | ||
- openjdk21 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.