fix: build.gradle duplicate classes bugs

This commit is contained in:
CaiHQ
2025-03-21 19:53:39 +08:00
parent e6c1ca0e06
commit c9832f4de9
50 changed files with 5 additions and 49530 deletions

View File

@@ -14,7 +14,7 @@ plugins {
}
group = 'org.bdware'
version = 'dev-221113'
version = 'dev-250321'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
@@ -26,6 +26,7 @@ def grpc_java_version = '1.71.0'
def junit_version = '5.12.1'
tasks.withType(JavaCompile) {
options.warnings = false
options.encoding = "UTF-8"
}
@@ -64,12 +65,12 @@ protobuf {
artifact = 'io.grpc:protoc-gen-grpc-java:' + grpc_java_version
}
}
generatedFilesBaseDir = "$projectDir/src"
// generatedFilesBaseDir = "$projectDir/src"
generateProtoTasks {
all().each { task ->
task.plugins {
grpc {
outputSubDir = 'java'
outputSubDir = "java"
}
}
}