diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..58fd9e9 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,20 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "gradle" + directory: "/" # Location of package manifests + schedule: + interval: "daily" + open-pull-requests-limit: 2 + + - package-ecosystem: "github-actions" + # Workflow files stored in the default location of `.github/workflows`. (You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.) + directory: "/" + schedule: + # Check for updates to GitHub Actions every weekday + interval: "daily" + open-pull-requests-limit: 2 diff --git a/.github/workflows/ci_run.yml b/.github/workflows/ci_run.yml index c309153..5c35066 100644 --- a/.github/workflows/ci_run.yml +++ b/.github/workflows/ci_run.yml @@ -8,6 +8,7 @@ on: pull_request: branches: - main + - "release**" jobs: build: diff --git a/artifacts.gradle b/artifacts.gradle index 9677a6a..43c088b 100644 --- a/artifacts.gradle +++ b/artifacts.gradle @@ -1,4 +1,4 @@ -def commonArtifactVersion = "0.2" +def commonArtifactVersion = "0.3" ext { artifactVersions = [ visitors: commonArtifactVersion, diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml new file mode 100644 index 0000000..0a6004a --- /dev/null +++ b/gradle/libs.versions.toml @@ -0,0 +1,6 @@ +[versions] +junit_version = "4.13.2" + +[libraries] +junit = { group = "junit", name = "junit", version.ref = "junit_version" } +find-bugs = "com.google.code.findbugs:jsr305:3.0.2" diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e411586..a595206 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/visitors/build.gradle b/visitors/build.gradle index 42ae48b..b1c3f3e 100644 --- a/visitors/build.gradle +++ b/visitors/build.gradle @@ -11,7 +11,8 @@ java { } dependencies { - testImplementation 'junit:junit:4.13.2' + implementation libs.find.bugs + testImplementation libs.junit } publishing {