[Gradle] Document IllegalStateException thrown in ExternalKotlinTargetDescriptor {}
KT-58601
This commit is contained in:
committed by
Space Team
parent
ca2a5a8ebf
commit
352fd5356e
+7
@@ -45,6 +45,13 @@ interface ExternalKotlinTargetDescriptor<T : DecoratedExternalKotlinTarget> {
|
|||||||
* Creates a new [ExternalKotlinTargetDescriptor] using the builder pattern.
|
* Creates a new [ExternalKotlinTargetDescriptor] using the builder pattern.
|
||||||
* There are some required properties that have to be set.
|
* There are some required properties that have to be set.
|
||||||
* Check [ExternalKotlinTargetDescriptorBuilder] for further details.
|
* Check [ExternalKotlinTargetDescriptorBuilder] for further details.
|
||||||
|
*
|
||||||
|
* * The following properties have to be specified:
|
||||||
|
* * - [ExternalKotlinTargetDescriptorBuilder.targetName]
|
||||||
|
* * - [ExternalKotlinTargetDescriptorBuilder.platformType]
|
||||||
|
* * - [ExternalKotlinTargetDescriptorBuilder.targetFactory]
|
||||||
|
*
|
||||||
|
* Not providing a required/necessary property will throw [IllegalStateException]
|
||||||
*/
|
*/
|
||||||
@ExternalKotlinTargetApi
|
@ExternalKotlinTargetApi
|
||||||
fun <T : DecoratedExternalKotlinTarget> ExternalKotlinTargetDescriptor(
|
fun <T : DecoratedExternalKotlinTarget> ExternalKotlinTargetDescriptor(
|
||||||
|
|||||||
Reference in New Issue
Block a user