Kotlin: exclude `KotlinExtractorDbScheme.kt` generated by hand

This commit is contained in:
Paolo Tranquilli 2024-06-26 09:04:25 +02:00
Родитель f9ae44ca5c
Коммит a52a412c24
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -113,7 +113,12 @@ kt_javac_options(
"src/**/*.kt",
"src/**/*.java",
],
exclude = ["src/main/kotlin/utils/versions/**"],
exclude = [
# a specific version is included back by `get_compatibility_sources`
"src/main/kotlin/utils/versions/**",
# this appears if `generated_dbscheme.py` is run manually, while we want the one built by bazel
"src/main/kotlin/KotlinExtractorDbScheme.kt",
],
) + get_compatilibity_sources(v, "src/main/kotlin/utils/versions"),
javac_opts = ":javac-options",
kotlinc_opts = ":kotlinc-options-%s" % v,