Skip to content

Commit

Permalink
Update development deps and remove year from copyright header (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
chokoswitch authored Apr 26, 2023
1 parent 243d37e commit 9de2628
Show file tree
Hide file tree
Showing 33 changed files with 51 additions and 43 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
Copyright (c) Choko (choko@curioswitch.org)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ dependencies {
}

protobuf {
protoc {
artifact.set("com.google.protobuf:protoc:3.22.3")
}
protoc { artifact.set("com.google.protobuf:protoc:3.22.3") }

descriptorSetOptions.enabled.set(false)
descriptorSetOptions.path.set(file("build/unused-descriptor-set"))
Expand All @@ -60,7 +58,9 @@ tasks {
release.set(8)

errorprone {
excludedPaths.set(".*com.google.protobuf.util.*|.*org.curioswitch.common.protobuf.json.test.*")
excludedPaths.set(
".*com.google.protobuf.util.*|.*org.curioswitch.common.protobuf.json.test.*",
)
}

// protoc generates code deprecated code so disable the lint.
Expand Down Expand Up @@ -108,4 +108,4 @@ publishing {
}
}
}
}
}
12 changes: 6 additions & 6 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ repositories {

dependencies {
// When updating, update above in plugins too
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.1.0")
implementation("com.netflix.nebula:nebula-release-plugin:16.0.0")
implementation("io.github.gradle-nexus:publish-plugin:1.1.0")
implementation("me.champeau.jmh:jmh-gradle-plugin:0.6.6")
implementation("net.ltgt.gradle:gradle-errorprone-plugin:2.0.2")
implementation("net.ltgt.gradle:gradle-nullaway-plugin:1.2.0")
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.18.0")
implementation("com.netflix.nebula:nebula-release-plugin:17.2.1")
implementation("io.github.gradle-nexus:publish-plugin:1.3.0")
implementation("me.champeau.jmh:jmh-gradle-plugin:0.7.1")
implementation("net.ltgt.gradle:gradle-errorprone-plugin:3.1.0")
implementation("net.ltgt.gradle:gradle-nullaway-plugin:1.5.0")
}

spotless {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ tasks {
disable("ImmutableMemberCollection")

disable("Var")
disable("Varifier")

// TODO(chokoswitch): Consider suppressing only for the fields where avoiding
// standard casing is more readable.
disable("MemberName")

// TODO(chokoswitch): Consider enabling
disable("CanIgnoreReturnValueSuggester")
}

errorprone.nullaway {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
val javaLicense =
"""
/*
* Copyright (c) ${'$'}YEAR Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/
Expand Down
6 changes: 3 additions & 3 deletions dependencyManagement/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ val DEPENDENCY_BOMS = listOf(
val DEPENDENCY_SETS = listOf(
DependencySet(
"com.google.errorprone",
"2.10.0",
"2.18.0",
listOf("error_prone_annotations", "error_prone_core")
)
)

val DEPENDENCIES = listOf(
"com.google.code.findbugs:annotations:3.0.1u2",
"com.google.code.findbugs:jsr305:3.0.2",
"com.uber.nullaway:nullaway:0.9.4",
"com.uber.nullaway:nullaway:0.10.10",
"net.bytebuddy:byte-buddy:1.14.4",
"org.assertj:assertj-core:3.22.0",
"org.assertj:assertj-core:3.24.2",
)

javaPlatform {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ dependencyResolutionManagement {
}
}

include(":dependencyManagement")
include(":dependencyManagement")
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2022 Choko (choko@curioswitch.org)
* Copyright (c) Choko (choko@curioswitch.org)
* SPDX-License-Identifier: MIT
*/

Expand Down

0 comments on commit 9de2628

Please sign in to comment.