Browse Source

try to add LICENSE and NOTICE to sources jars

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894567 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_5_2_0
PJ Fanning 2 years ago
parent
commit
567b8fde92
2 changed files with 7 additions and 7 deletions
  1. 7
    0
      poi-ooxml-lite/build.gradle
  2. 0
    7
      poi-scratchpad/build.gradle

+ 7
- 0
poi-ooxml-lite/build.gradle View File

@@ -148,6 +148,13 @@ jar {
}
}

sourcesJar {
metaInf {
from("$projectDir/../legal/LICENSE")
from("$projectDir/../legal/NOTICE")
}
}

spotbugsTest.enabled = false
spotbugsMain.enabled = false
javadoc.enabled = false

+ 0
- 7
poi-scratchpad/build.gradle View File

@@ -114,13 +114,6 @@ jar {
}
}

sourcesJar {
metaInf {
from("$projectDir/../legal/LICENSE")
from("$projectDir/../legal/NOTICE")
}
}

// Create a separate jar for test-code to depend on it in other projects
// See http://stackoverflow.com/questions/5144325/gradle-test-dependency
task testJar(type: Jar, dependsOn: testClasses) {

Loading…
Cancel
Save