OpenJDK / openjfx / 10-dev / rt
changeset 10592:0c458c14b6b9
8185358: gradle 4.X has changed location of built classes
Reviewed-by: kcr, ddhill
| author | prr |
|---|---|
| date | Thu, 27 Jul 2017 11:56:05 -0700 |
| parents | 76fb7b461451 |
| children | b28822ac986a |
| files | build.gradle |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/build.gradle Tue Jul 25 17:40:44 2017 -0700 +++ b/build.gradle Thu Jul 27 11:56:05 2017 -0700 @@ -828,6 +828,8 @@ // perform common project manipulation for modules void commonModuleSetup(Project p, List<String> moduleChain) { + // Allow the build to use either gradle 3.x or gradle 4.x + p.sourceSets.main.output.classesDir = new File(p.buildDir, "classes/main") p.ext.moduleChain = moduleChain if (p.hasProperty("moduleName")) {