genodeftest / rpms / openjfx

Forked from rpms/openjfx a year ago
Clone
Blob Blame Raw
From 92f01214a34f914405e597d2756640831d0ee84f Mon Sep 17 00:00:00 2001
From: Mikolaj Izdebski <mizdebsk@redhat.com>
Date: Tue, 7 Jul 2015 01:20:59 +0200
Subject: [PATCH 2/4] Bulid in Gradle local mode

---
 build.gradle          | 4 ++--
 buildSrc/build.gradle | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index 3a209b4f..aa761841 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1299,7 +1299,7 @@ project(":graphics") {
 
     dependencies {
         compile project(":base"), BUILD_SRC
-        compile name: SWT_FILE_NAME
+        compile group: "org.eclipse.swt", name: "swt", version: "3.104.0"
         stubCompile group: "junit", name: "junit", version: "4.8.2",
         project(":base").sourceSets.test.output, sourceSets.main.output
         antlr3 group: "org.antlr", name: "antlr", version: "3.1.3"
@@ -1680,7 +1680,7 @@ project(":swt") {
     }
     dependencies {
         compile BUILD_SRC, project(":base"), project(":graphics")
-        compile name: SWT_FILE_NAME
+        compile group: "org.eclipse.swt", name: "swt", version: "3.104.0"
     }
 }
 
diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle
index 979dab9e..8f8d8a95 100644
--- a/buildSrc/build.gradle
+++ b/buildSrc/build.gradle
@@ -57,6 +57,7 @@ apply plugin: "java"
 
 
 repositories {
+    xmvn()
     if (buildClosed) {
         ivy {
             url jfxRepositoryURL
-- 
2.17.1