You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.
The ArtifactHandler is missing similar DSL methods for adding publishable artifacts.
In Groovy, we can do something like:
configurations {
//declaring new configuration that will be used to associate with artifacts
schema
}
task schemaJar(type: Jar) {
//some imaginary task that creates a jar artifact with some schema
}
//associating the task that produces the artifact with the configuration
artifacts {
//configuration name and the task:
schema schemaJar
}
In Kotlin, we need to use add:
artifacts {
add("schema", schemaJar)
}
Expected Behavior
Similar DSL or alternative method of producing artifacts for Kotlin build scripts.
artifacts {
schema(schemaJar)
}
Current Behavior
No accessors generated and must call the add methods.
Context
Creating additional publishable artifacts from a project that can be consumed by project dependencies.
Your Environment
Gradle 4.8-rc-1
The text was updated successfully, but these errors were encountered:
There seems to be some duplicate APIs between ArtifactHandler and ConfigurationPublications from Configuration.getOutgoing - does is still make sense for these to be added or something else around ArtifactHandler be done?
The
ArtifactHandler
is missing similar DSL methods for adding publishable artifacts.In Groovy, we can do something like:
In Kotlin, we need to use
add
:artifacts { add("schema", schemaJar) }
Expected Behavior
Similar DSL or alternative method of producing artifacts for Kotlin build scripts.
Current Behavior
No accessors generated and must call the
add
methods.Context
Creating additional publishable artifacts from a project that can be consumed by
project
dependencies.Your Environment
The text was updated successfully, but these errors were encountered: