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.dependsOn generateMainLoggingClasses
|
||||||
compileJava.options.define(compilerArgs: ["-proc:none", "-encoding", "UTF-8"])
|
compileJava.options.define(compilerArgs: ["-proc:none", "-encoding", "UTF-8"])
|
||||||
|
compileTestJava.options.define(compilerArgs: ["-proc:none", "-encoding", "UTF-8"])
|
||||||
|
|
||||||
manifest.mainAttributes(
|
manifest.mainAttributes(
|
||||||
provider: 'gradle',
|
provider: 'gradle',
|
||||||
|
|
|
@ -30,6 +30,7 @@ dependencies {
|
||||||
testRuntime( 'jaxen:jaxen:1.1' )
|
testRuntime( 'jaxen:jaxen:1.1' )
|
||||||
testRuntime( libraries.javassist )
|
testRuntime( libraries.javassist )
|
||||||
}
|
}
|
||||||
|
compileMatrixJava.options.define(compilerArgs: ["-proc:none", "-encoding", "UTF-8"])
|
||||||
|
|
||||||
manifest.mainAttributes(
|
manifest.mainAttributes(
|
||||||
'Main-Class': 'org.hibernate.Version'
|
'Main-Class': 'org.hibernate.Version'
|
||||||
|
|
|
@ -26,6 +26,7 @@ sourceSets.test {
|
||||||
generatedJpaMetamodelSrcDir = file( "${buildDir}/generated-src/jpamodelgen/${name}" )
|
generatedJpaMetamodelSrcDir = file( "${buildDir}/generated-src/jpamodelgen/${name}" )
|
||||||
java.srcDir generatedJpaMetamodelSrcDir
|
java.srcDir generatedJpaMetamodelSrcDir
|
||||||
}
|
}
|
||||||
|
compileMatrixJava.options.define(compilerArgs: ["-proc:none", "-encoding", "UTF-8"])
|
||||||
sourceSets {
|
sourceSets {
|
||||||
matrix {
|
matrix {
|
||||||
java {
|
java {
|
||||||
|
|
|
@ -28,7 +28,8 @@ sourceSets {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
compileMatrixJava.options.define(compilerArgs: ["-proc:none", "-encoding", "UTF-8"])
|
||||||
ideaModule {
|
ideaModule {
|
||||||
testSourceDirs += file( 'src/matrix/java')
|
testSourceDirs += file( 'src/matrix/java')
|
||||||
testSourceDirs += file( 'src/matrix/resources')
|
testSourceDirs += file( 'src/matrix/resources')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue