Working
This commit is contained in:
parent
2a95bff6fc
commit
5eb08eded3
5 changed files with 46 additions and 58 deletions
13
build.gradle
13
build.gradle
|
@ -29,11 +29,11 @@ dependencies{
|
|||
bundledLibs 'org.libreoffice:unoil:5.3.2'
|
||||
bundledLibs 'org.json:json:20190722'
|
||||
compile 'junit:junit:4.12'
|
||||
bundledLibs group: 'com.miglayout', name: 'miglayout-swing', version: '5.2'
|
||||
bundledLibs group: 'org.apache.jena', name: 'jena-core', version: '3.15.0'
|
||||
bundledLibs group: 'org.apache.jena', name: 'jena-arq', version: '3.15.0'
|
||||
bundledLibs group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.30'
|
||||
bundledLibs group: 'com.opencsv', name: 'opencsv', version: '5.1'
|
||||
bundledLibs group: 'com.miglayout', name: 'miglayout-swing', version: '5.2'
|
||||
bundledLibs files('idl')
|
||||
configurations.compile.extendsFrom(configurations.bundledLibs)
|
||||
}
|
||||
|
@ -59,9 +59,9 @@ task xhtml(type: Jar) {
|
|||
}
|
||||
baseName = "writer2xhtml-filter"
|
||||
from {
|
||||
configurations.bundledLibs.collect {
|
||||
configurations.bundledLibs.collect {
|
||||
it.isDirectory() ? it : zipTree(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
from sourceSets.main.output
|
||||
exclude '**/*Test.class'
|
||||
|
@ -85,6 +85,7 @@ task xhtml(type: Jar) {
|
|||
include 'w2phtml/xhtml/**/**/*.properties'
|
||||
from sourceSets.main.output
|
||||
include 'org/**/*'
|
||||
include 'net/**/*'
|
||||
}
|
||||
|
||||
task xhtml2(type: Jar) {
|
||||
|
@ -104,14 +105,13 @@ task xhtml2(type: Jar) {
|
|||
exclude '**/*Test.class'
|
||||
exclude '**/AllTests.class'
|
||||
exclude '**/*.java'
|
||||
include 'org/openoffice/da/comp/wl2common/**/*.class'
|
||||
include 'org/openoffice/da/comp/writer2xhtml/**/*.class'
|
||||
include 'org/openoffice/da/comp/wl2common/**/*.properties'
|
||||
include 'w2phtml/pageSplitters/**/*.class'
|
||||
include 'pro/litvinovg/**/*.class'
|
||||
include 'pro/litvinovg/**/*.png'
|
||||
include 'pro/litvinovg/**/*.classes'
|
||||
include 'w2phtml/api/**/*.class'
|
||||
include 'w2phtml/base/**/*.class'
|
||||
include 'w2phtml/rdf/**/*.class'
|
||||
include 'w2phtml/epub/**/*.class'
|
||||
include 'w2phtml/office/**/*.class'
|
||||
include 'w2phtml/util/**/*.class'
|
||||
|
@ -123,6 +123,7 @@ task xhtml2(type: Jar) {
|
|||
include 'w2phtml/xhtml/**/**/*.properties'
|
||||
from sourceSets.main.output
|
||||
include 'org/**/*'
|
||||
include 'net/**/*'
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue