- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MyPluginExtension (0.22 sec)
-
platforms/documentation/docs/src/snippets/providers/property/groovy/build.gradle
} class MyNamedTypeImpl implements MyNamedType { String name MyNamedTypeImpl(String name) { this.name = name } } class MyPluginExtension { NamedDomainObjectContainer<MyNamedType> myNamedContainer MyPluginExtension(Project project) { myNamedContainer = project.container(MyNamedType) { name -> new MyNamedTypeImpl(name) } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 04:19:09 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/property/kotlin/build.gradle.kts
} // end::prov-managed[] // Named managed type // tag::named[] interface MyNamedType { val name: String } class MyNamedTypeImpl(override val name: String) : MyNamedType class MyPluginExtension(project: Project) { val myNamedContainer: NamedDomainObjectContainer<MyNamedType> = project.container(MyNamedType::class.java) { name -> project.objects.newInstance(MyNamedTypeImpl::class.java, name)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 04:19:09 UTC 2024 - 2.1K bytes - Viewed (0)