From 7b34cca5099ce514ba32eb01265fe89ddd47dced Mon Sep 17 00:00:00 2001 From: Kel Lee Date: Thu, 14 Sep 2017 21:45:26 +0800 Subject: [PATCH 1/2] fix: To solve the problem can't download the gradle-jcasgen-plugin plugin --- build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 19921933..0fd893b1 100644 --- a/build.gradle +++ b/build.gradle @@ -1,11 +1,15 @@ buildscript { repositories { jcenter() + maven { + url "https://plugins.gradle.org/m2/" + } } dependencies { classpath 'org.codehaus.groovy:groovy-backports-compat23:2.3.5' - classpath 'com.dictanova.jcasgen.gradle:gradle-jcasgen-plugin:+' + classpath "gradle.plugin.com.dictanova.jcasgen.gradle:gradle-jcasgen-plugin:0.4" classpath 'com.tkruse.gradle:gradle-groovysh-plugin:1.0.5' + } } From 9a9e55fd52ebfe825fe3a1e27444aa74fb60b563 Mon Sep 17 00:00:00 2001 From: Kel Lee Date: Mon, 18 Sep 2017 19:23:54 +0800 Subject: [PATCH 2/2] fix: ./gradlew run failed --- build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 0fd893b1..218391df 100644 --- a/build.gradle +++ b/build.gradle @@ -7,9 +7,8 @@ buildscript { } dependencies { classpath 'org.codehaus.groovy:groovy-backports-compat23:2.3.5' - classpath "gradle.plugin.com.dictanova.jcasgen.gradle:gradle-jcasgen-plugin:0.4" + classpath "gradle.plugin.com.dictanova.jcasgen.gradle:gradle-jcasgen-plugin:0.3" classpath 'com.tkruse.gradle:gradle-groovysh-plugin:1.0.5' - } }