From fe3ae67c982834c8ff5b732b45e02b7746c2a3b1 Mon Sep 17 00:00:00 2001 From: Nathan Xu Date: Fri, 11 Oct 2024 09:29:13 -0400 Subject: [PATCH] correct some defects as per code reviews --- README.md | 10 ---------- build.gradle.kts | 4 ++-- copyright.txt | 2 +- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index ba03da7..0b61308 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,4 @@ A MongoDB Dialect for the Hibernate ORM ## Build -[Gradle](https://gradle.org/) is the building tool with [Kotlin](https://kotlinlang.org/) DSL as default. - -Starting with Gradle 8.2, creating new builds using gradle init defaults to generating Gradle builds using Kotlin DSL. - -See https://blog.gradle.org/kotlin-dsl-is-now-the-default-for-new-gradle-builds for further details. - -* Kotlin DSL Primer: https://docs.gradle.org/current/userguide/kotlin_dsl.html#kotlin_dsl -* Kotlin DSL API: https://docs.gradle.org/current/kotlin-dsl/index.html -* Migration from Groovy: https://docs.gradle.org/current/userguide/migrating_from_groovy_to_kotlin_dsl.html - ## IntelliJ IDEA diff --git a/build.gradle.kts b/build.gradle.kts index 1f62e5e..61f21ca 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 MongoDB, Inc. + * Copyright 2024-present MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -58,7 +58,7 @@ tasks.named("test") { spotless { java { // note: you can use an empty string for all the imports you didn't specify explicitly, '|' to join group without blank line, and '\\#` prefix for static imports - importOrder("java|javax", "org.hibernate", "com.mongo", "", "\\#") + importOrder("java|javax", "org.hibernate", "com.mongodb", "", "\\#") removeUnusedImports() diff --git a/copyright.txt b/copyright.txt index b64f50a..14c1b10 100644 --- a/copyright.txt +++ b/copyright.txt @@ -1,5 +1,5 @@ /* - * Copyright 2008-$YEAR MongoDB, Inc. + * Copyright $YEAR-present MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.