mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-16 15:24:44 +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'
|
artifact = 'us.hebi.quickbuf:protoc-gen-quickbuf:1.3.1'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (System.getenv("GENERATE_PROTO") == "true") {
|
||||||
generateProtoTasks {
|
generateProtoTasks {
|
||||||
all().each { task ->
|
all().each { task ->
|
||||||
task.builtins {
|
task.builtins {
|
||||||
@@ -52,6 +54,8 @@ protobuf {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
generatedFilesBaseDir = "$projectDir/src/generated/"
|
generatedFilesBaseDir = "$projectDir/src/generated/"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user