Skip to content

Commit

Permalink
Merge branch 'altro3-minor-script-fixes'
Browse files Browse the repository at this point in the history
  • Loading branch information
melix committed Oct 22, 2024
2 parents fe4b58e + 62690f9 commit f382b98
Show file tree
Hide file tree
Showing 14 changed files with 39 additions and 30 deletions.
9 changes: 5 additions & 4 deletions aot-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ micronautPlugins {
}

dependencies {
api project(":micronaut-minimal-plugin")
api project(":micronaut-docker-plugin")
api project(":micronaut-graalvm-plugin")
api projects.micronautMinimalPlugin
api projects.micronautDockerPlugin
api projects.micronautGraalvmPlugin

implementation libs.micronaut.aot.api
implementation libs.micronaut.aot.core
implementation libs.micronaut.aot.std
Expand All @@ -21,5 +22,5 @@ dependencies {
compileOnly libs.bundles.optionalPlugins
compileOnly libs.shadowPlugin

testImplementation testFixtures(project(":micronaut-minimal-plugin"))
testImplementation testFixtures(projects.micronautMinimalPlugin)
}
7 changes: 3 additions & 4 deletions crac-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ micronautPlugins {
}

dependencies {
api project(":micronaut-minimal-plugin")

api project(":micronaut-docker-plugin")
api projects.micronautMinimalPlugin
api projects.micronautDockerPlugin

testCompileOnly(libs.jetbrains.annotations)
testImplementation testFixtures(project(":micronaut-minimal-plugin"))
testImplementation testFixtures(projects.micronautMinimalPlugin)
}
4 changes: 2 additions & 2 deletions docker-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ micronautPlugins {
}

dependencies {
api project(":micronaut-minimal-plugin")
api projects.micronautMinimalPlugin
api libs.dockerPlug

compileOnly libs.graalvmPlugin

testImplementation testFixtures(project(":micronaut-minimal-plugin"))
testImplementation testFixtures(projects.micronautMinimalPlugin)
testImplementation libs.mockserver.netty
}
2 changes: 1 addition & 1 deletion functional-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ functionalTesting {

dependencies {
testImplementation gradleTestKit()
testImplementation testFixtures(project(":micronaut-minimal-plugin"))
testImplementation testFixtures(projects.micronautMinimalPlugin)
}
4 changes: 2 additions & 2 deletions graalvm-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ micronautPlugins {
}

dependencies {
api project(":micronaut-minimal-plugin")
api projects.micronautMinimalPlugin
api libs.graalvmPlugin
testImplementation testFixtures(project(":micronaut-minimal-plugin"))
testImplementation testFixtures(projects.micronautMinimalPlugin)
}
12 changes: 6 additions & 6 deletions gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ dependencies {
because("Log4j2 <2.15 is vulnerable to RCE (CVE-2021-44228)")
}
}
api project(":micronaut-minimal-plugin")
api project(":micronaut-docker-plugin")
api project(":micronaut-graalvm-plugin")
api project(":micronaut-aot-plugin")
api project(":micronaut-test-resources-plugin")
api projects.micronautMinimalPlugin
api projects.micronautDockerPlugin
api projects.micronautGraalvmPlugin
api projects.micronautAotPlugin
api projects.micronautTestResourcesPlugin

implementation libs.diffplugPlugin

compileOnly libs.bundles.optionalPlugins

testImplementation testFixtures(project(":micronaut-minimal-plugin"))
testImplementation testFixtures(projects.micronautMinimalPlugin)
}
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.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
7 changes: 5 additions & 2 deletions 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 @@ -55,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
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
4 changes: 2 additions & 2 deletions openapi-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ micronautPlugins {

dependencies {
compileOnly libs.micronaut.openapi.generator
implementation project(":micronaut-minimal-plugin")
testImplementation testFixtures(project(":micronaut-minimal-plugin"))
implementation projects.micronautMinimalPlugin
testImplementation testFixtures(projects.micronautMinimalPlugin)
}
2 changes: 1 addition & 1 deletion platform-catalog-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ micronautPlugins {

dependencies {
implementation(libs.tomlj)
testImplementation testFixtures(project(":micronaut-minimal-plugin"))
testImplementation testFixtures(projects.micronautMinimalPlugin)
}
4 changes: 3 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pluginManagement {
}

plugins {
id 'io.micronaut.build.shared.settings' version '7.1.4'
id 'io.micronaut.build.shared.settings' version '7.2.2'
}

rootProject.name = 'micronaut-gradle-plugin-parent'
Expand All @@ -22,6 +22,8 @@ include("openapi-plugin")
include("test-resources-plugin")
include("functional-tests")

enableFeaturePreview 'TYPESAFE_PROJECT_ACCESSORS'

micronautBuild {
useStandardizedProjectNames = true
nonStandardProjectNamePrefixes.add("functional-tests")
Expand Down
10 changes: 6 additions & 4 deletions test-resources-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ micronautPlugins {
}

dependencies {
implementation libs.micronaut.testresources
implementation project(":micronaut-minimal-plugin")
compileOnly libs.graalvmPlugin
compileOnly project(":micronaut-aot-plugin")
testImplementation testFixtures(project(":micronaut-minimal-plugin"))
compileOnly projects.micronautAotPlugin

implementation libs.micronaut.testresources
implementation projects.micronautMinimalPlugin

testImplementation testFixtures(projects.micronautMinimalPlugin)
}

0 comments on commit f382b98

Please sign in to comment.