mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-16 07:14:58 +01:00
(fix) Prevent protos from being cleaned
This commit is contained in:
@@ -39,6 +39,8 @@ protobuf {
|
||||
artifact = 'us.hebi.quickbuf:protoc-gen-quickbuf:1.3.1'
|
||||
}
|
||||
}
|
||||
|
||||
if (System.getenv("GENERATE_PROTO") == "true") {
|
||||
generateProtoTasks {
|
||||
all().each { task ->
|
||||
task.builtins {
|
||||
@@ -52,6 +54,8 @@ protobuf {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
generatedFilesBaseDir = "$projectDir/src/generated/"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user