File tree Expand file tree Collapse file tree 3 files changed +3
-14
lines changed
kotlin/io/github/androa/gradle/plugin/avro Expand file tree Collapse file tree 3 files changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class AvroPluginFunctionalTest {
1717 @ValueSource(
1818 strings = [
1919 " zero-config.gradle.kts" ,
20- " default .gradle.kts" ,
20+ " custom-settings .gradle.kts" ,
2121 " custom-paths.gradle.kts" ,
2222 ],
2323 )
Original file line number Diff line number Diff line change 1- import org.apache.avro.compiler.specific.SpecificCompiler
2-
31plugins {
42 id(" io.github.androa.gradle.plugin.avro" )
53 kotlin(" jvm" ) version " 2.1.20"
64}
75
86generateAvro {
9- noSetters = true
10- addNullSafeAnnotations.set(false )
11- encoding = " UTF-8"
12- fieldVisibility = SpecificCompiler .FieldVisibility .PUBLIC
13-
147 schemas.from(project.fileTree(" custom-avro-path" ))
158 outputDir.set(layout.buildDirectory.dir(" custom-output-dir" ))
16- }
9+ }
Original file line number Diff line number Diff line change @@ -7,11 +7,7 @@ plugins {
77
88generateAvro {
99 noSetters = true
10- // Both assign and set() is possible
1110 addNullSafeAnnotations.set(true )
1211 encoding = " UTF-8"
13- fieldVisibility = SpecificCompiler .FieldVisibility .PRIVATE
14-
15- // schemas.from(project.fileTree("src/main/avro"))
16- // outputDir.set(layout.buildDirectory.dir("generated-avro"))
12+ fieldVisibility = SpecificCompiler .FieldVisibility .PUBLIC
1713}
You can’t perform that action at this time.
0 commit comments