test need to be compiled in UTF-8
This commit is contained in:
parent
62d50aa987
commit
ff9eb6d1b2
|
@ -193,6 +193,7 @@ subprojects { subProject ->
|
|||
|
||||
compileJava.dependsOn generateMainLoggingClasses
|
||||
compileJava.options.define(compilerArgs: ["-proc:none", "-encoding", "UTF-8"])
|
||||
compileTestJava.options.define(compilerArgs: ["-proc:none", "-encoding", "UTF-8"])
|
||||
|
||||
manifest.mainAttributes(
|
||||
provider: 'gradle',
|
||||
|
|
|
@ -30,6 +30,7 @@ dependencies {
|
|||
testRuntime( 'jaxen:jaxen:1.1' )
|
||||
testRuntime( libraries.javassist )
|
||||
}
|
||||
compileMatrixJava.options.define(compilerArgs: ["-proc:none", "-encoding", "UTF-8"])
|
||||
|
||||
manifest.mainAttributes(
|
||||
'Main-Class': 'org.hibernate.Version'
|
||||
|
|
|
@ -26,6 +26,7 @@ sourceSets.test {
|
|||
generatedJpaMetamodelSrcDir = file( "${buildDir}/generated-src/jpamodelgen/${name}" )
|
||||
java.srcDir generatedJpaMetamodelSrcDir
|
||||
}
|
||||
compileMatrixJava.options.define(compilerArgs: ["-proc:none", "-encoding", "UTF-8"])
|
||||
sourceSets {
|
||||
matrix {
|
||||
java {
|
||||
|
|
|
@ -28,7 +28,8 @@ sourceSets {
|
|||
}
|
||||
}
|
||||
}
|
||||
compileMatrixJava.options.define(compilerArgs: ["-proc:none", "-encoding", "UTF-8"])
|
||||
ideaModule {
|
||||
testSourceDirs += file( 'src/matrix/java')
|
||||
testSourceDirs += file( 'src/matrix/resources')
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue