Package net.corda.plugins.cpk2

Types

Link copied to clipboard
open class CordappData @Inject constructor(objects: ObjectFactory)
Link copied to clipboard
open class CordappExtension @Inject constructor(    objects: ObjectFactory,     providers: ProviderFactory,     osgiVersion: String,     bndVersion: String)
Link copied to clipboard
class CordappPlugin @Inject constructor(layouts: ProjectLayout, softwareComponentFactory: SoftwareComponentFactory) : Plugin<Project>

Generate a new CPK format CorDapp for use in Corda.

Link copied to clipboard
@DisableCachingByDefault
open class CPKDependenciesTask @Inject constructor(objects: ObjectFactory) : DefaultTask
Link copied to clipboard
@DisableCachingByDefault
open class DependencyCalculator @Inject constructor(objects: ObjectFactory) : DefaultTask
Link copied to clipboard
open class OsgiExtension(objects: ObjectFactory, jar: Jar)
Link copied to clipboard
class PublishAfterEvaluationHandler(rootProject: Project) : Action<Gradle>
Link copied to clipboard
open class Signing @Inject constructor(objects: ObjectFactory, providers: ProviderFactory)
Link copied to clipboard
@DisableCachingByDefault
open class SignJar @Inject constructor(objects: ObjectFactory) : DefaultTask
Link copied to clipboard
@DisableCachingByDefault
open class VerifyBundle @Inject constructor(objects: ObjectFactory) : DefaultTask
Link copied to clipboard
@DisableCachingByDefault
open class VerifyLibraries @Inject constructor(objects: ObjectFactory) : DefaultTask

Functions

Link copied to clipboard
fun Element.appendElement(name: String): Element
fun Element.appendElement(name: String, value: String?): Element
Link copied to clipboard
fun copyJarEnabledTo(target: Task): Action<TaskExecutionGraph>
Link copied to clipboard
fun ConfigurationContainer.createBasicConfiguration(name: String): Configuration
Link copied to clipboard
fun ConfigurationContainer.createCompileConfiguration(name: String): Configuration

This configuration will contribute to the CorDapp's compile classpath but not to its runtime classpath. However, it will still contribute to all TESTING classpaths.

Link copied to clipboard
fun digestFor(algorithmName: String): MessageDigest
Link copied to clipboard
fun MessageDigest.hashFor(input: InputStream): ByteArray

Compute hash for contents of InputStream.

Link copied to clipboard
fun isPlatformModule(dependency: ModuleDependency): Boolean

Identify a platform dependency by examining its Category variant attribute.

Link copied to clipboard
fun Iterable<File>.maxOf(attributeName: String): Int?

Computes the maximum value of attributeName from all Manifests, or null if no such value can be derived. The attribute is assumed to have an integer value.

Link copied to clipboard
fun TaskInputs.nested(nestName: String, data: CordappData)

Registers these CordappData properties as task inputs, because Gradle cannot "see" their @Input annotations yet.

fun TaskInputs.nested(nestName: String, cordapp: CordappExtension)

Registers these CordappExtension properties as task inputs, because Gradle cannot "see" their @Input annotations yet.

fun TaskInputs.nested(nestName: String, osgi: OsgiExtension)

Registers these OsgiExtension properties as task inputs, because Gradle cannot "see" their @Input annotations yet.

fun TaskInputs.nested(nestName: String, signing: Signing)

Registers these Signing properties as task inputs, because Gradle cannot "see" their @Input annotations yet.

Link copied to clipboard
fun ResolvedConfiguration.resolveAll(dependencies: Collection<Dependency>): Set<ResolvedArtifact>

Identify the artifacts that were resolved for these Dependency objects, including all of their transitive dependencies.

Link copied to clipboard
fun ResolvedConfiguration.resolveFirstLevel(dependencies: Collection<Dependency>): Set<ResolvedArtifact>

Identify the artifacts that were resolved for these Dependency objects only. This does not include any transitive dependencies.

Link copied to clipboard
fun toCompanionArtifactId(artifactId: String): String
Link copied to clipboard
fun toCompanionGroupId(group: String?, artifactId: String): String
Link copied to clipboard
fun Dependency.toMaven(): String

Properties

Link copied to clipboard
const val ALL_CORDAPPS_CONFIGURATION_NAME: String
Link copied to clipboard
const val CORDA_ALL_PROVIDED_CONFIGURATION_NAME: String
Link copied to clipboard
const val CORDA_API_GROUP: String
Link copied to clipboard
const val CORDA_CPK_CONFIGURATION_NAME: String
Link copied to clipboard
const val CORDA_CPK_TYPE: String
Link copied to clipboard
const val CORDA_EMBEDDED_CONFIGURATION_NAME: String
Link copied to clipboard
const val CORDA_PRIVATE_CONFIGURATION_NAME: String
Link copied to clipboard
const val CORDA_PROVIDED_CONFIGURATION_NAME: String
Link copied to clipboard
const val CORDA_RUNTIME_ONLY_CONFIGURATION_NAME: String
Link copied to clipboard
const val CORDAPP_CONFIG_PLUGIN_ID: String
Link copied to clipboard
const val CORDAPP_CONFIGURATION_NAME: String
Link copied to clipboard
const val CORDAPP_CONTRACT_NAME: String
Link copied to clipboard
const val CORDAPP_CONTRACT_VERSION: String
Link copied to clipboard
const val CORDAPP_CPK_PLUGIN_ID: String
Link copied to clipboard
const val CORDAPP_DOCUMENTATION_URL: String

Location of official R3 documentation for building CPKs and CPBs.

Link copied to clipboard
const val CORDAPP_EXTERNAL_CONFIGURATION_NAME: String
Link copied to clipboard
const val CORDAPP_PACKAGING_CONFIGURATION_NAME: String
Link copied to clipboard
const val CORDAPP_PLATFORM_VERSION: String
Link copied to clipboard
const val CORDAPP_SEALING_SYSTEM_PROPERTY_NAME: String
Link copied to clipboard
const val CORDAPP_TASK_GROUP: String
Link copied to clipboard
const val CORDAPP_WORKFLOW_NAME: String
Link copied to clipboard
const val CORDAPP_WORKFLOW_VERSION: String
Link copied to clipboard
const val CPK_CORDAPP_LICENCE: String
Link copied to clipboard
const val CPK_CORDAPP_NAME: String
Link copied to clipboard
const val CPK_CORDAPP_VENDOR: String
Link copied to clipboard
const val CPK_CORDAPP_VERSION: String
Link copied to clipboard
const val CPK_DEPENDENCIES: String
Link copied to clipboard
const val CPK_FILE_EXTENSION: String
Link copied to clipboard
const val CPK_FORMAT: String
Link copied to clipboard
const val CPK_FORMAT_TAG: String
Link copied to clipboard
const val CPK_PLATFORM_VERSION: String
Link copied to clipboard
const val ENTERPRISE_API_GROUP: String
Link copied to clipboard
const val IMPORT_POLICY_PACKAGES: String
Link copied to clipboard
val String.isJavaIdentifier: Boolean

Checks whether this String could be considered to be a valid identifier in Java. Identifiers are only permitted to contain a specific subset of Characters.

Link copied to clipboard
val List<String>.isJavaIdentifiers: Boolean

Check whether every String in this List is a valid Java identifier.

Link copied to clipboard
val File.manifest: Manifest

Extracts the Manifest from a jar file.

Link copied to clipboard
val File.packages: MutableSet<String>
Link copied to clipboard
const val PLATFORM_VERSION_X: Int = 999
Link copied to clipboard
const val REQUIRED_PACKAGES: String
Link copied to clipboard
val SEPARATOR: String