Blame 0003-Allow-build-to-work-on-newer-gradles.patch
|
|
5ef918c |
From a92f4d9fb59ade73b54a952a648e2a5da06ef8ed Mon Sep 17 00:00:00 2001
|
|
|
5ef918c |
From: Mat Booth <mat.booth@redhat.com>
|
|
|
5ef918c |
Date: Thu, 21 Jun 2018 15:32:59 +0100
|
|
|
5ef918c |
Subject: [PATCH 3/4] Allow build to work on newer gradles
|
|
|
5ef918c |
|
|
|
5ef918c |
---
|
|
|
5ef918c |
build.gradle | 4 ++++
|
|
|
5ef918c |
1 file changed, 4 insertions(+)
|
|
|
5ef918c |
|
|
|
5ef918c |
diff --git a/build.gradle b/build.gradle
|
|
|
5ef918c |
index aa761841..05ea62f1 100644
|
|
|
5ef918c |
--- a/build.gradle
|
|
|
5ef918c |
+++ b/build.gradle
|
|
|
5ef918c |
@@ -1239,6 +1239,8 @@ project(":base") {
|
|
|
5ef918c |
compile BUILD_SRC
|
|
|
5ef918c |
}
|
|
|
5ef918c |
|
|
|
5ef918c |
+ project.sourceSets.main.output.classesDir = new File(project.buildDir, "classes/main")
|
|
|
5ef918c |
+
|
|
|
5ef918c |
// We need to take the VersionInfo.java file and replace the various
|
|
|
5ef918c |
// properties within it
|
|
|
5ef918c |
def replacements = [
|
|
|
5ef918c |
@@ -1307,6 +1309,8 @@ project(":graphics") {
|
|
|
5ef918c |
antlr3 group: "org.antlr", name: "stringtemplate", version: "3.2"
|
|
|
5ef918c |
}
|
|
|
5ef918c |
|
|
|
5ef918c |
+ project.sourceSets.main.output.classesDir = new File(project.buildDir, "classes/main")
|
|
|
5ef918c |
+
|
|
|
5ef918c |
// Create a single "native" task which will depend on all the individual native tasks for graphics
|
|
|
5ef918c |
project.ext.nativeAllTask = task("native", group: "Build", description: "Compiles and Builds all native libraries for Graphics");
|
|
|
5ef918c |
project.ext.cleanNativeAllTask = task("cleanNative", group: "Build", description: "Clean all native libraries and objects for Graphics");
|
|
|
5ef918c |
--
|
|
|
5ef918c |
2.17.1
|
|
|
5ef918c |
|