Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for extraJavaModuleInfo (0.27 sec)

  1. platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/buildSrc/src/main/java/org/gradle/sample/transform/javamodules/ExtraModuleInfoPlugin.java

        @Override
        public void apply(Project project) {
            // register the plugin extension as 'extraJavaModuleInfo {}' configuration block
            ExtraModuleInfoPluginExtension extension = project.getObjects().newInstance(ExtraModuleInfoPluginExtension.class);
            project.getExtensions().add(ExtraModuleInfoPluginExtension.class, "extraJavaModuleInfo", extension);
    
            // setup the transform for all projects in the build
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/java/modules-with-transform/groovy/application/build.gradle

        id 'extra-java-module-info' // apply my own plugin written in buildSrc
    }
    
    version = '1.0.2'
    group = 'org.gradle.sample'
    
    repositories {
        mavenCentral()
    }
    
    // tag::extraModuleInfo[]
    extraJavaModuleInfo {
        // This does not have to be a complete description (e.g. here 'org.apache.commons.collections' does not export anything here).
        // It only needs to be good enough to work in the context of this application we are building.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/java/modules-with-transform/kotlin/application/build.gradle.kts

    version = "1.0.2"
    group = "org.gradle.sample"
    
    repositories {
        mavenCentral()
    }
    
    tasks.compileJava {
        options.javaModuleVersion = provider({ version as String })
    }
    
    // tag::extraModuleInfo[]
    extraJavaModuleInfo {
        // This does not have to be a complete description (e.g. here 'org.apache.commons.collections' does not export anything here).
        // It only needs to be good enough to work in the context of this application we are building.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top