File 0006-drop-fonts.patch of Package gradle4_3_1

From d3ff05e0c9ddb761e293d35fd7b5fbb01cddf651 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Sat, 4 Mar 2017 18:11:28 +0100
Subject: [PATCH 6/6] drop fonts

fonts can't be resolved in local cache. wtf gradle ?!
---
 subprojects/docs/docs.gradle | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/subprojects/docs/docs.gradle b/subprojects/docs/docs.gradle
index 70381e4beaaa..b7b3a3fe9d7a 100755
--- a/subprojects/docs/docs.gradle
+++ b/subprojects/docs/docs.gradle
@@ -193,12 +193,7 @@ task configureCss {
             [it.name, it.bytes.encodeBase64().toString()]
         }
 
-        def fonts = configurations.fonts.resolvedConfiguration.resolvedArtifacts.collectEntries {
-            def id = it.moduleVersion.id
-            ["${id.group}-${id.name}".toString(), it.file.bytes.encodeBase64().toString()]
-        }
-
-        ext.tokens = images + fonts
+        ext.tokens = images
         css.inputs.property 'tokens', tokens
         css.filter ReplaceTokens, tokens: tokens
     }
-- 
2.14.3

openSUSE Build Service is sponsored by