diff --git a/README.md b/README.md index b52c429..358669a 100644 --- a/README.md +++ b/README.md @@ -239,7 +239,7 @@ make init # or -../gradlew :operator:quarkusBuild +../gradlew --console=colored :operator:quarkusBuild ``` ### Development @@ -251,7 +251,7 @@ make run # or -./gradlew :operator:quarkusDev +./gradlew --console=colored :operator:quarkusDev ``` The app service will be available at [http://localhost:8080](http://localhost:8080). @@ -266,7 +266,7 @@ make test # or -./gradlew :operator:test +./gradlew --console=colored :operator:test ``` #### Run the project as a service in IntelliJ @@ -285,7 +285,7 @@ make run # or -./gradlew :operator:quarkusDev +./gradlew --console=colored :operator:quarkusDev ``` Once the application is running (and the database is available on port 5432), run the following command: @@ -295,7 +295,7 @@ make generate-jooq # or -./gradlew :generated:jooqCodegen +./gradlew --console=colored :generated:jooqCodegen ``` The generator writes JSpecify nullability annotations into the generated sources, so NullAway reads the real nullness of every generated column accessor instead of guessing. @@ -325,7 +325,7 @@ See [Docker Environment](docs/docker-environment.md) for setting up a local deve The application can be packaged using: ```bash -./gradlew :operator:build +./gradlew --console=colored :operator:build ``` It produces the `quarkus-run.jar` file in the `build/quarkus-app/` directory. @@ -336,7 +336,7 @@ The application is now runnable using `java -jar build/quarkus-app/quarkus-run.j If you want to build an _über-jar_, execute the following command: ```bash -./gradlew :operator:build -Dquarkus.package.jar.type=uber-jar +./gradlew --console=colored :operator:build -Dquarkus.package.jar.type=uber-jar ``` The application, packaged as an _über-jar_, is now runnable using `java -jar build/*-runner.jar`. @@ -346,13 +346,13 @@ The application, packaged as an _über-jar_, is now runnable using `java -jar bu You can create a native executable using: ```bash -./gradlew :operator:build -Dquarkus.native.enabled=true +./gradlew --console=colored :operator:build -Dquarkus.native.enabled=true ``` Or, if you don't have GraalVM installed, you can run the native executable build in a container using: ```bash -./gradlew :operator:build -Dquarkus.native.enabled=true -Dquarkus.native.container-build=true +./gradlew --console=colored :operator:build -Dquarkus.native.enabled=true -Dquarkus.native.container-build=true ``` You can then execute your native executable with: `./build/postgresql-operator-1.0.0-SNAPSHOT-runner` diff --git a/build.gradle.kts b/build.gradle.kts index 010171e..b6967d8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -116,7 +116,7 @@ subprojects { val excludePatterns = project.property("excludeTests").toString().split(",") excludePatterns.forEach { pattern -> excludeTestsMatching(pattern.trim()) - // Since Gradle 9.6, excluding a class no longer excludes its @Nested classes + // A pattern ending in a class name does not match its @Nested classes (Outer$Inner) excludeTestsMatching("${pattern.trim()}\$*") } } diff --git a/gradle.properties b/gradle.properties index 0aaf285..049df22 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,6 +2,7 @@ org.gradle.caching=true org.gradle.configuration-cache=true org.gradle.parallel=true +org.gradle.tooling.parallel=true org.gradle.logging.level=INFO # Quarkus diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 92da640..0d1c54f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -14,7 +14,7 @@ scram-client = "3.3" assertj = "3.27.7" datafaker = "2.7.0" errorProne = "2.51.0" -errorPronePlugin = "5.1.1" +errorPronePlugin = "5.2.0" nullAway = "0.14.3" [plugins] diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 9fa7f28..51cbd2a 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 5907d39..39ad053 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,7 +1,8 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionSha256Sum=21bd5da2de49b642904077f38c0efdc7778e92b3ed0889392dca61b97e389607 -distributionUrl=https\://services.gradle.org/distributions/gradle-9.8.2-bin.zip +# https://gradle.org/release-checksums/ +distributionSha256Sum=0b00b0ffe07c4d4789c12d4935a44a7057d55774b7540bd4a3f76f336deb177a +distributionUrl=https\://services.gradle.org/distributions/gradle-9.9.0-bin.zip networkTimeout=10000 retries=0 retryBackOffMs=500