forked from quarkusio/quarkus
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use 'plugins' instead of 'apply plugin' in gradle-it
related to quarkusio#1623 just for consistency with the Quick Start and our doc on https://quarkus.io/guides/gradle-tooling and https://quarkus.io/guides/gradle-config.html FTR: This change does not actually fix the currently broken Gradle IT.
- Loading branch information
Showing
2 changed files
with
19 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
pluginManagement { | ||
repositories { | ||
// TODO ideally this, like build.gradle, should just read from ../gradle instead of mavenLocal(), but it's not clear how | ||
// classpath fileTree(dir: '../gradle/build/libs', include: 'quarkus-gradle-plugin-*.jar') | ||
// classpath fileTree(dir: '../gradle/target/dependencies/compile', include: '*.jar') | ||
mavenLocal() | ||
} | ||
resolutionStrategy { | ||
eachPlugin { | ||
if (requested.id.id == 'io.quarkus') { | ||
useModule("io.quarkus:quarkus-gradle-plugin:${requested.version}") | ||
} | ||
} | ||
} | ||
} |