Browse Source

try to fix gradle build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855971 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_4_1_0
PJ Fanning 5 years ago
parent
commit
dfcf588b79
2 changed files with 5 additions and 9 deletions
  1. 4
    8
      build.gradle
  2. 1
    1
      gradle/wrapper/gradle-wrapper.properties

+ 4
- 8
build.gradle 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()
}

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

+ 1
- 1
gradle/wrapper/gradle-wrapper.properties 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

Loading…
Cancel
Save