Skip to content

Commit

Permalink
build changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yawkat committed Jan 8, 2025
1 parent 2efd854 commit 26160ae
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'io.micronaut.build.internal.fuzzing-base'
id "io.micronaut.build.internal.module"
id "io.micronaut.build.internal.base-module"
}

micronautBuild {
Expand Down
2 changes: 2 additions & 0 deletions oss-fuzz/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ set -e
mkdir -p ~/.gradle
echo "auto.include.git.dirs=$(pwd)" >> ~/.gradle/gradle.properties

export OSSFUZZ_MICRONAUT_BRANCH=$(cd micronaut-core && git rev-parse --abbrev-ref HEAD)

cd micronaut-fuzzing

# bug in micronaut-build
Expand Down
2 changes: 1 addition & 1 deletion oss-fuzz/checkout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

set -e

git clone -b 4.8.x --depth=1 https://github.com/micronaut-projects/micronaut-core.git
git clone --depth=1 https://github.com/micronaut-projects/micronaut-core.git
5 changes: 4 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@ micronautBuild {
useStandardizedProjectNames = true

importMicronautCatalog()
requiresDevelopmentVersion("micronaut-core", "4.8.x")

if (providers.environmentVariable("OSSFUZZ_MICRONAUT_BRANCH").isPresent) {
requiresDevelopmentVersion("micronaut-core", providers.environmentVariable("OSSFUZZ_MICRONAUT_BRANCH").get())
}
}

0 comments on commit 26160ae

Please sign in to comment.