Skip to content

Commit a52a412

Browse files
committed
Kotlin: exclude KotlinExtractorDbScheme.kt generated by hand
1 parent f9ae44c commit a52a412

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

java/kotlin-extractor/BUILD.bazel

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,12 @@ kt_javac_options(
113113
"src/**/*.kt",
114114
"src/**/*.java",
115115
],
116-
exclude = ["src/main/kotlin/utils/versions/**"],
116+
exclude = [
117+
# a specific version is included back by `get_compatibility_sources`
118+
"src/main/kotlin/utils/versions/**",
119+
# this appears if `generated_dbscheme.py` is run manually, while we want the one built by bazel
120+
"src/main/kotlin/KotlinExtractorDbScheme.kt",
121+
],
117122
) + get_compatilibity_sources(v, "src/main/kotlin/utils/versions"),
118123
javac_opts = ":javac-options",
119124
kotlinc_opts = ":kotlinc-options-%s" % v,

0 commit comments

Comments
 (0)