From 433010ed9ac436a8d2326ec76f867722c52a4af8 Mon Sep 17 00:00:00 2001 From: Mark Perry Date: Tue, 10 Mar 2015 21:48:41 +1000 Subject: Apply solution for #9 directly to plugin --- src/main/groovy/frege/gradle/FregePlugin.groovy | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/groovy') diff --git a/src/main/groovy/frege/gradle/FregePlugin.groovy b/src/main/groovy/frege/gradle/FregePlugin.groovy index 2765a21..07d0ea2 100644 --- a/src/main/groovy/frege/gradle/FregePlugin.groovy +++ b/src/main/groovy/frege/gradle/FregePlugin.groovy @@ -6,6 +6,9 @@ import org.gradle.api.Project class FregePlugin implements Plugin { void apply(Project project) { + // Workaround to build proper jars on Windows, see https://github.com/Frege/frege-gradle-plugin/issues/9 + System.setProperty("file.encoding", "UTF-8") + project.apply(plugin: 'base') def e = (FregePluginExtension) project.extensions.create("frege", FregePluginExtension) -- cgit