Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for externalClasspath (0.37 sec)

  1. platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-relocate/kotlin/build.gradle.kts

    configurations.create("externalClasspath")
    
    val usage = Attribute.of("usage", String::class.java)
    val artifactType = Attribute.of("artifactType", String::class.java)
    
    dependencies {
        registerTransform(ClassRelocator::class) {
            from.attribute(artifactType, "jar")
            to.attribute(artifactType, "relocated-classes")
            parameters {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-relocate/groovy/build.gradle

    configurations.create("externalClasspath")
    
    def usage = Attribute.of('usage', String)
    def artifactType = Attribute.of('artifactType', String)
    
    dependencies {
        registerTransform(ClassRelocator) {
            from.attribute(artifactType, "jar")
            to.attribute(artifactType, "relocated-classes")
            parameters {
                externalClasspath.from(configurations.externalClasspath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top