CordappExtension

open class CordappExtension @Inject constructor(    objects: ObjectFactory,     providers: ProviderFactory,     osgiVersion: String,     bndVersion: String)

Constructors

Link copied to clipboard
@Inject
fun CordappExtension(    objects: ObjectFactory,     providers: ProviderFactory,     osgiVersion: String,     bndVersion: String)

Functions

Link copied to clipboard
fun contract(action: Action<in CordappData>)
Link copied to clipboard
fun minimumPlatformVersion(value: Int?)
Link copied to clipboard
fun signing(action: Action<in Signing>)
Link copied to clipboard
fun targetPlatformVersion(value: Int?)
Link copied to clipboard
fun workflow(action: Action<in CordappData>)

Properties

Link copied to clipboard
@get:Input
val bndVersion: Property<String>
Link copied to clipboard
val contract: CordappData

CorDapp Contract distribution information.

Link copied to clipboard
val hashAlgorithm: Property<String>

This property only provides the default value for CPKDependenciesTask.hashAlgorithm, which is annotated with @Input. Hence this is not a task input itself.

Link copied to clipboard
@get:Input
val minimumPlatformVersion: Property<Int>
Link copied to clipboard
@get:Input
val osgiVersion: Property<String>
Link copied to clipboard
@get:Input
val sealing: Property<Boolean>

Optional marker to seal all packages in the JAR.

Link copied to clipboard
val signing: Signing

Optional parameters for ANT signJar tasks to sign CorDapps.

Link copied to clipboard
@get:Input
val targetPlatformVersion: Property<Int>

Top-level CorDapp attributes

Link copied to clipboard
val workflow: CordappData

CorDapp Workflow (flows and services) distribution information.