try to fix gradle build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855971 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2019-03-21 09:34:04 +00:00
parent f9a46c7fbf
commit dfcf588b79
2 changed files with 5 additions and 9 deletions

View File

@ -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()
}
@ -215,13 +218,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']
sourceSets.test.java.srcDirs = ['../../src/ooxml/testcases']

View File

@ -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