File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
gradle/build-logic/common-plugins Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 93
93
contentType = gg.jte.ContentType .Plain
94
94
sourceDirectory = sourceSets.main.map { it.resources.srcDirs.first().toPath() }
95
95
generate()
96
- // jteExtension("gg.jte.models.generator.ModelExtension")
96
+ jteExtension(" gg.jte.models.generator.ModelExtension" ) {
97
+ property(" language" , " Kotlin" )
98
+ // property("interfaceAnnotation", "@foo.bar.MyAnnotation")
99
+ // property("implementationAnnotation", "@foo.bar.MyAnnotation")
100
+ }
97
101
// jteExtension("gg.jte.nativeimage.NativeResourcesExtension")
98
102
// binaryStaticContent = true
99
103
}
@@ -120,8 +124,8 @@ dependencies {
120
124
implementation(libs.build.zip.prefixer)
121
125
// Templating
122
126
implementation(libs.jte.runtime)
127
+ jteGenerate(libs.jte.models)
123
128
// compileOnly(libs.jte.kotlin)
124
- // jteGenerate(libs.jte.models)
125
129
126
130
// External plugins deps to use in precompiled script plugins
127
131
// https://docs.gradle.org/current/userguide/custom_plugins.html#applying_external_plugins_in_precompiled_script_plugins
You can’t perform that action at this time.
0 commit comments