chore: improved build configuration
This commit is contained in:
parent
7d03b2a02d
commit
19b17c5b58
16 changed files with 4 additions and 3 deletions
|
@ -16,8 +16,8 @@ sourceSets {
|
||||||
regressionTests {
|
regressionTests {
|
||||||
java {
|
java {
|
||||||
compileClasspath += main.output + test.output
|
compileClasspath += main.output + test.output
|
||||||
runtimeClasspath += main.output + files('src/main/java')
|
runtimeClasspath += main.output + test.output + files('src/main/java')
|
||||||
java.srcDir file('src/r_tests/java')
|
srcDir file('src/r_tests/java')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,12 +26,13 @@ configurations{
|
||||||
regressionTestsCompile.extendsFrom mainCompile
|
regressionTestsCompile.extendsFrom mainCompile
|
||||||
regressionTestsRuntime.extendsFrom mainRuntime
|
regressionTestsRuntime.extendsFrom mainRuntime
|
||||||
regressionTestsRuntime.extendsFrom compileClasspath
|
regressionTestsRuntime.extendsFrom compileClasspath
|
||||||
|
regressionTestsImplementation.extendsFrom compileClasspath
|
||||||
}
|
}
|
||||||
dependencies{
|
dependencies{
|
||||||
regressionTestsImplementation group: 'commons-io', name: 'commons-io', version: '2.8.0'
|
regressionTestsImplementation group: 'commons-io', name: 'commons-io', version: '2.8.0'
|
||||||
regressionTestsImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.7.1'
|
regressionTestsImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.7.1'
|
||||||
regressionTestsImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.7.1'
|
regressionTestsImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.7.1'
|
||||||
regressionTestsRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
|
regressionTestsImplementation 'org.junit.jupiter:junit-jupiter-engine'
|
||||||
|
|
||||||
compileClasspath 'org.libreoffice:jurt:5.3.2'
|
compileClasspath 'org.libreoffice:jurt:5.3.2'
|
||||||
compileClasspath 'org.libreoffice:juh:5.3.2'
|
compileClasspath 'org.libreoffice:juh:5.3.2'
|
||||||
|
|
Loading…
Add table
Reference in a new issue