From cf6b2fea097785a94df080abb80bb46f924aae9d Mon Sep 17 00:00:00 2001 From: Inaki Villar Date: Tue, 22 Oct 2024 19:03:49 -0700 Subject: [PATCH] renaming to library (cherry picked from commit c459048df929687714c4692c8c18188d48eaf11e) --- .../build.gradle.kts | 2 +- .../library/build.gradle.kts | 15 +++++++++++++++ .../settings.gradle | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 integration-tests/gradle/src/main/resources/java-platform-with-eager-resolution-project/library/build.gradle.kts diff --git a/integration-tests/gradle/src/main/resources/java-platform-with-eager-resolution-project/build.gradle.kts b/integration-tests/gradle/src/main/resources/java-platform-with-eager-resolution-project/build.gradle.kts index f9dfded1ea362..adc10c534b09f 100644 --- a/integration-tests/gradle/src/main/resources/java-platform-with-eager-resolution-project/build.gradle.kts +++ b/integration-tests/gradle/src/main/resources/java-platform-with-eager-resolution-project/build.gradle.kts @@ -12,7 +12,7 @@ repositories { dependencies { implementation("io.quarkus:quarkus-rest") implementation("io.quarkus:quarkus-arc") - implementation(enforcedPlatform(project(":lib"))) + implementation(enforcedPlatform(project(":library"))) testImplementation("io.quarkus:quarkus-junit5") testImplementation("io.rest-assured:rest-assured") } diff --git a/integration-tests/gradle/src/main/resources/java-platform-with-eager-resolution-project/library/build.gradle.kts b/integration-tests/gradle/src/main/resources/java-platform-with-eager-resolution-project/library/build.gradle.kts new file mode 100644 index 0000000000000..28d6576a01232 --- /dev/null +++ b/integration-tests/gradle/src/main/resources/java-platform-with-eager-resolution-project/library/build.gradle.kts @@ -0,0 +1,15 @@ +plugins { + `java-platform` +} + +val quarkusPlatformGroupId: String by project +val quarkusPlatformArtifactId: String by project +val quarkusPlatformVersion: String by project + +javaPlatform.allowDependencies() +dependencies{ + api(enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")) + constraints{ + api("org.assertj:assertj-core:3.26.3") + } +} diff --git a/integration-tests/gradle/src/main/resources/java-platform-with-eager-resolution-project/settings.gradle b/integration-tests/gradle/src/main/resources/java-platform-with-eager-resolution-project/settings.gradle index 6b1df5f27af0a..2ab26cc990ee6 100644 --- a/integration-tests/gradle/src/main/resources/java-platform-with-eager-resolution-project/settings.gradle +++ b/integration-tests/gradle/src/main/resources/java-platform-with-eager-resolution-project/settings.gradle @@ -16,4 +16,4 @@ pluginManagement { } } rootProject.name='java-platform-with-eager-resolution-project' -include(":lib") +include(":library")