setup: add Java targetCompatibility fixed to 1.8

This commit is contained in:
Nex Zhu 2022-11-14 18:14:06 +08:00
parent 8bfe33e2d2
commit 102b032c00
No known key found for this signature in database
GPG Key ID: 15C6254AD19362B4

View File

@ -16,7 +16,10 @@ plugins {
group 'org.bdware'
version 'dev-221113'
sourceCompatibility = JavaVersion.VERSION_1_8
compileJava {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
def grpc_java_version = '1.41.0'
def junit_version = '5.7.0'