LF8/build.gradle.kts

85 lines
2.2 KiB
Plaintext
Raw Normal View History

2024-09-03 13:01:50 +00:00
plugins {
java
chore(deps): update all non-major dependencies (!4) This PR contains the following updates: | Package | Type | Update | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---|---|---| | [gradle](https://gradle.org) ([source](https://github.com/gradle/gradle)) | | minor | `8.8` -> `8.10.2` | [![age](https://developer.mend.io/api/mc/badges/age/gradle-version/gradle/8.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/gradle-version/gradle/8.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/gradle-version/gradle/8.8/8.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/gradle-version/gradle/8.8/8.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | org.springframework.boot | plugin | patch | `3.3.3` -> `3.3.4` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.springframework.boot/3.3.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.springframework.boot/3.3.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.springframework.boot/3.3.3/3.3.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.springframework.boot/3.3.3/3.3.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>gradle/gradle (gradle)</summary> ### [`v8.10.2`](https://github.com/gradle/gradle/releases/tag/v8.10.2): 8.10.2 [Compare Source](https://github.com/gradle/gradle/compare/v8.10.1...v8.10.2) This is a patch release for 8.10. We recommend using 8.10.2 instead of 8.10 It fixes the following issues: - [#&#8203;30472](https://github.com/gradle/gradle/issues/30472) Investigate possibly broken 8.10.1 - [#&#8203;30477](https://github.com/gradle/gradle/issues/30477) Kotlin Mutliplatform build with reused daemon fails with "Cannot query the value of task ':compileKotlinWindows' property 'kotlinNativeBundleBuildService' because it has no value available." - [#&#8203;30497](https://github.com/gradle/gradle/issues/30497) DefaultTaskCollection#configureEach(Action) on task set cannot be executed in the current context Issues fixed in the first patch release: - [#&#8203;30239](https://github.com/gradle/gradle/issues/30239) Gradle 8.10 Significantly Slower Due to Dependency Resolution - [#&#8203;30272](https://github.com/gradle/gradle/issues/30272) Broken equals() contract for LifecycleAwareProject - [#&#8203;30385](https://github.com/gradle/gradle/issues/30385) Gradle should not validate isolated projects when isolated projects is disabled [Read the Release Notes](https://docs.gradle.org/8.10.2/release-notes.html) #### Upgrade instructions Switch your build to use Gradle 8.10.2 by updating your wrapper: ./gradlew wrapper --gradle-version=8.10.2 See the Gradle [8.x upgrade guide](https://docs.gradle.org/8.10.2/userguide/upgrading_version\_8.html) to learn about deprecations, breaking changes and other considerations when upgrading. For Java, Groovy, Kotlin and Android compatibility, see the [full compatibility notes](https://docs.gradle.org/8.10.2/userguide/compatibility.html). #### Reporting problems If you find a problem with this release, please file a bug on [GitHub Issues](https://github.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss). We hope you will build happiness with Gradle, and we look forward to your feedback via [Twitter](https://twitter.com/gradle) or on [GitHub](https://github.com/gradle). ### [`v8.10.1`](https://github.com/gradle/gradle/releases/tag/v8.10.1): 8.10.1 [Compare Source](https://github.com/gradle/gradle/compare/v8.10.0...v8.10.1) This is a patch release for 8.10. We recommend using 8.10.1 instead of 8.10 It fixes the following issues: - [#&#8203;30239](https://github.com/gradle/gradle/issues/30239) Gradle 8.10 Significantly Slower Due to Dependency Resolution - [#&#8203;30272](https://github.com/gradle/gradle/issues/30272) Broken equals() contract for LifecycleAwareProject - [#&#8203;30385](https://github.com/gradle/gradle/issues/30385) Gradle should not validate isolated projects when isolated projects is disabled [Read the Release Notes](https://docs.gradle.org/8.10.1/release-notes.html) #### Upgrade instructions Switch your build to use Gradle 8.10.1 by updating your wrapper: ./gradlew wrapper --gradle-version=8.10.1 See the Gradle [8.x upgrade guide](https://docs.gradle.org/8.10.1/userguide/upgrading_version\_8.html) to learn about deprecations, breaking changes and other considerations when upgrading. For Java, Groovy, Kotlin and Android compatibility, see the [full compatibility notes](https://docs.gradle.org/8.10.1/userguide/compatibility.html). #### Reporting problems If you find a problem with this release, please file a bug on [GitHub Issues](https://github.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss). We hope you will build happiness with Gradle, and we look forward to your feedback via [Twitter](https://twitter.com/gradle) or on [GitHub](https://github.com/gradle). ### [`v8.10`](https://github.com/gradle/gradle/releases/tag/v8.10.0): 8.10 [Compare Source](https://github.com/gradle/gradle/compare/v8.9.0...v8.10.0) The Gradle team is excited to announce Gradle 8.10. [Read the Release Notes](https://docs.gradle.org/8.10/release-notes.html) We would like to thank the following community members for their contributions to this release of Gradle: [Björn Kautler](https://github.com/Vampire), [Craig Andrews](https://github.com/candrews), [gotovsky](https://github.com/SergeyGotovskiy), [Jeff](https://github.com/mathjeff), [Kirill Gavrilov](https://github.com/gavvvr), [Madalin Valceleanu](https://github.com/vmadalin), [Sergei Vorobev](https://github.com/HackerMadCat), [Thach Le](https://github.com/thachlp), [Thad Guidry](https://github.com/thadguidry) #### Upgrade instructions Switch your build to use Gradle 8.10 by updating your wrapper: ./gradlew wrapper --gradle-version=8.10 See the Gradle [8.x upgrade guide](https://docs.gradle.org/8.10/userguide/upgrading_version\_8.html) to learn about deprecations, breaking changes and other considerations when upgrading. For Java, Groovy, Kotlin and Android compatibility, see the [full compatibility notes](https://docs.gradle.org/8.10/userguide/compatibility.html). #### Reporting problems If you find a problem with this release, please file a bug on [GitHub Issues](https://github.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss). We hope you will build happiness with Gradle, and we look forward to your feedback via [Twitter](https://twitter.com/gradle) or on [GitHub](https://github.com/gradle). ### [`v8.9`](https://github.com/gradle/gradle/releases/tag/v8.9.0): 8.9 [Compare Source](https://github.com/gradle/gradle/compare/v8.8.0...v8.9.0) The Gradle team is excited to announce Gradle 8.9. [Read the Release Notes](https://docs.gradle.org/8.9/release-notes.html) We would like to thank the following community members for their contributions to this release of Gradle: [/dev/mataha](https://github.com/mataha), [Alex-Vol-Amz](https://github.com/Alex-Vol-Amz), [Andrew Quinney](https://github.com/aquinney0), [Andrey Mischenko](https://github.com/gildor), [Björn Kautler](https://github.com/Vampire), [dancer13](https://github.com/dancer1325), [Danish Nawab](https://github.com/danishnawab), [Endeavour233](https://github.com/Endeavour233), [Gediminas Rimša](https://github.com/grimsa), [gotovsky](https://github.com/SergeyGotovskiy), [Jay Wei](https://github.com/JayWei1215), [Jeff](https://github.com/mathjeff), [Madalin Valceleanu](https://github.com/vmadalin), [markslater](https://github.com/markslater), [Mel Arthurs](https://github.com/arthursmel), [Michael](https://github.com/bean5), [Nils Brugger](https://github.com/nbrugger-tgm), [Ole Osterhagen](https://github.com/oleosterhagen), [Piotr Kubowicz](https://github.com/pkubowicz), [Róbert Papp](https://github.com/TWiStErRob), [Sebastian Davids](https://github.com/sdavids), [Sebastian Schuberth](https://github.com/sschuberth), [Stefan Oehme](https://github.com/oehme), [Stefanos Koutsouflakis](https://github.com/stefanoskapa), [Taeik Lim](https://github.com/acktsap), [Tianyi Tao](https://github.com/tianyeeT), [Tim Nielens](https://github.com/tnielens), [наб](https://github.com/nabijaczleweli) #### Upgrade instructions Switch your build to use Gradle 8.9 by updating your wrapper: ./gradlew wrapper --gradle-version=8.9 See the Gradle [8.x upgrade guide](https://docs.gradle.org/8.9/userguide/upgrading_version\_8.html) to learn about deprecations, breaking changes and other considerations when upgrading. For Java, Groovy, Kotlin and Android compatibility, see the [full compatibility notes](https://docs.gradle.org/8.9/userguide/compatibility.html). #### Reporting problems If you find a problem with this release, please file a bug on [GitHub Issues](https://github.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss). We hope you will build happiness with Gradle, and we look forward to your feedback via [Twitter](https://twitter.com/gradle) or on [GitHub](https://github.com/gradle). </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45NC4zIiwidXBkYXRlZEluVmVyIjoiMzguOTQuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: Phan Huy Tran <ptran@noreply.localhost> Reviewed-on: https://git.kjan.de/jank/LF8/pulls/4 Co-authored-by: Renovate <renovate@kjan.de> Co-committed-by: Renovate <renovate@kjan.de>
2024-09-25 07:21:16 +00:00
id("org.springframework.boot") version "3.3.4"
2024-09-03 13:01:50 +00:00
id("io.spring.dependency-management") version "1.1.6"
id("checkstyle")
chore(deps): update plugin org.sonarqube to v5.1.0.4882 (!18) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | org.sonarqube | `5.0.0.4638` -> `5.1.0.4882` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.sonarqube/5.1.0.4882?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.sonarqube/5.1.0.4882?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.sonarqube/5.0.0.4638/5.1.0.4882?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.sonarqube/5.0.0.4638/5.1.0.4882?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45NS4wIiwidXBkYXRlZEluVmVyIjoiMzguOTguMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Reviewed-on: https://git.kjan.de/jank/LF8/pulls/18 Reviewed-by: Jan Gleytenhoover <krisellp9@gmail.com> Co-authored-by: Renovate <renovate@kjan.de> Co-committed-by: Renovate <renovate@kjan.de>
2024-09-27 12:52:40 +00:00
id("org.sonarqube") version "5.1.0.4882"
id("jacoco")
}
tasks.jacocoTestReport {
dependsOn(tasks.test) // Ensure tests are run before generating the report
reports {
xml.required = true
csv.required = true
}
}
sonar {
properties {
property("sonar.projectKey", "LF8")
property("sonar.projectName", "LF8")
}
}
tasks.withType<Checkstyle> {
reports {
// Disable HTML report
html.required.set(false)
// Disable XML report
xml.required.set(false)
}
2024-09-03 13:01:50 +00:00
}
group = "de.szut"
version = "0.0.1-SNAPSHOT"
tasks.test {
useJUnitPlatform()
// Activate the 'test' profile for Spring during tests
systemProperty("spring.profiles.active", "test")
}
2024-09-03 13:01:50 +00:00
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
2024-09-03 13:01:50 +00:00
}
}
configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
}
repositories {
mavenCentral()
}
val springDocVersion = "2.6.0"
val oauth2Version = "3.3.4"
2024-09-03 13:01:50 +00:00
dependencies {
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-validation")
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:$springDocVersion")
2024-09-03 13:01:50 +00:00
implementation("org.springframework.boot:spring-boot-starter-security")
implementation("org.springframework.boot:spring-boot-starter-oauth2-resource-server:$oauth2Version")
implementation("org.springframework.boot:spring-boot-starter-oauth2-client:$oauth2Version")
testImplementation("com.h2database:h2")
testImplementation("org.springframework.boot:spring-boot-starter-test")
compileOnly("org.projectlombok:lombok")
annotationProcessor("org.projectlombok:lombok")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
runtimeOnly("org.postgresql:postgresql")
2024-09-03 13:01:50 +00:00
}
tasks.withType<Test> {
useJUnitPlatform()
finalizedBy(tasks.jacocoTestReport) // Run JaCoCo report after tests
}