Skip to content

Commit

Permalink
gradle update
Browse files Browse the repository at this point in the history
  • Loading branch information
osiegmar committed Aug 30, 2024
1 parent e659567 commit b7c337b
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 13 deletions.
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ repositories {
}

dependencies {
implementation("com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.15")
implementation(libs.spotbugs)
}
7 changes: 7 additions & 0 deletions buildSrc/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
from(files("../gradle/libs.versions.toml"))
}
}
}
2 changes: 1 addition & 1 deletion example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ plugins {

dependencies {
implementation(project(":lib"))
implementation("ch.randelshofer:fastdoubleparser:1.0.0")
implementation(libs.fastdoubleparser)
}
12 changes: 12 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[libraries]
junit-jupiter = { module = "org.junit.jupiter:junit-jupiter", version = "5.11.0" }
assertj-core = { module = "org.assertj:assertj-core", version = "3.26.3" }
fastdoubleparser = { module = "ch.randelshofer:fastdoubleparser", version = "1.0.0" }
gummy-bears = { module = "com.toasttab.android:gummy-bears-api-33", version = "0.9.0" }
spotbugs = { module = "com.github.spotbugs.snom:spotbugs-gradle-plugin", version = "6.0.20"}

[plugins]
jmh = { id = "me.champeau.jmh", version = "0.7.2" }
pitest = { id = "info.solidsoft.pitest", version = "1.15.0" }
animalsniffer = { id = "ru.vyarus.animalsniffer", version = "1.7.1" }
bnd = { id = "biz.aQute.bnd.builder", version = "7.0.0" }
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
5 changes: 4 additions & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#

##############################################################################
#
Expand Down Expand Up @@ -84,7 +86,8 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down
2 changes: 2 additions & 0 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem

@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
Expand Down
17 changes: 8 additions & 9 deletions lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ plugins {
`maven-publish`
signing
jacoco
id("me.champeau.jmh") version "0.7.2"
id("info.solidsoft.pitest") version "1.15.0"
id("ru.vyarus.animalsniffer") version "1.7.1"
id("biz.aQute.bnd.builder") version "7.0.0"
alias(libs.plugins.jmh)
alias(libs.plugins.pitest)
alias(libs.plugins.animalsniffer)
alias(libs.plugins.bnd)
}

group = "de.siegmar"
Expand Down Expand Up @@ -54,16 +54,15 @@ configurations[intTest.implementationConfigurationName].extendsFrom(configuratio
configurations[intTest.runtimeOnlyConfigurationName].extendsFrom(configurations.testRuntimeOnly.get())

dependencies {
commonImplementation("org.assertj:assertj-core:3.26.0")
commonImplementation(libs.assertj.core)

testImplementation(platform("org.junit:junit-bom:5.10.2"))
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.assertj:assertj-core:3.26.0")
testImplementation(libs.junit.jupiter)
testImplementation(libs.assertj.core)
testRuntimeOnly("org.junit.platform:junit-platform-launcher")

"intTestImplementation"(project)

signature("com.toasttab.android:gummy-bears-api-33:0.8.0@signature")
signature(libs.gummy.bears)
}

tasks.test {
Expand Down

0 comments on commit b7c337b

Please sign in to comment.