From dfcf588b79af92abce81fd32a6525a83f9783c70 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Thu, 21 Mar 2019 09:34:04 +0000 Subject: [PATCH] try to fix gradle build git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855971 13f79535-47bb-0310-9956-ffa450edef68 --- build.gradle | 12 ++++-------- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 1109c9b675..66313c062d 100644 --- a/build.gradle +++ b/build.gradle @@ -63,7 +63,7 @@ allprojects { apply plugin: 'eclipse' task wrapper(type: Wrapper) { - gradleVersion = '4.6' + gradleVersion = '4.10.3' } task adjustWrapperPropertiesFile { @@ -103,6 +103,9 @@ subprojects { sourceCompatibility = 1.8 repositories { + maven { + url 'https://repository.apache.org/content/repositories/staging' + } mavenCentral() } @@ -214,13 +217,6 @@ project('main') { } project('ooxml') { - - repositories { - maven { - url 'https://repository.apache.org/content/repositories/staging' - } - mavenCentral() - } sourceSets.main.java.srcDirs = ['../../src/ooxml/java'] sourceSets.main.resources.srcDirs = ['../../src/ooxml/resources', '../../src/resources/ooxml'] diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index bf3de21830..290541c738 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -- 2.39.5