- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for JavaPluginExtension (0.32 sec)
-
platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/JavaPluginExtension.java
* the {@code JvmPluginExtension} extension. It is used to configure many of the project's * JVM-related settings and behavior. * * @since 4.10 */ public interface JavaPluginExtension { /** * Returns the source compatibility used for compiling Java sources. */ JavaVersion getSourceCompatibility(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 10.4K bytes - Viewed (1) -
platforms/documentation/docs/src/docs/dsl/org.gradle.api.plugins.JavaPluginExtension.xml
Laura Kassovic <******@****.***> 1701107622 -0800
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.7K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/commons/JavaPluginExtensions.kt
*/ package gradlebuild.commons import org.gradle.api.plugins.JavaPluginExtension import org.gradle.jvm.toolchain.JavaLanguageVersion import org.gradle.jvm.toolchain.JvmVendorSpec // Using star import to workaround https://youtrack.jetbrains.com/issue/KTIJ-24390 import org.gradle.kotlin.dsl.* internal fun JavaPluginExtension.configureJavaToolChain() { toolchain {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 03 15:32:00 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/JavaBasePlugin.java
DefaultJavaPluginExtension javaPluginExtension = addExtensions(project); configureCompileDefaults(project, javaPluginExtension); configureSourceSetDefaults(project, javaPluginExtension); configureJavaDoc(project, javaPluginExtension); configureTest(project, javaPluginExtension); configureBuildNeeded(project);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 19 22:14:22 UTC 2023 - 28.3K bytes - Viewed (0) -
platforms/jvm/language-jvm/src/main/java/org/gradle/api/plugins/FeatureSpec.java
* See also {@link JavaPluginExtension#withJavadocJar()}. * * @since 6.0 */ void withJavadocJar(); /** * Automatically package sources from the linked {@link #usingSourceSet(SourceSet) SourceSet} and register the produced JAR as a variant. * See also {@link JavaPluginExtension#withSourcesJar()}. * * @since 6.0 */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 18:44:49 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/main/java/org/gradle/api/plugins/ApplicationPlugin.java
run.getJvmArguments().convention(project.provider(pluginExtension::getApplicationDefaultJvmArgs)); JavaPluginExtension javaPluginExtension = project.getExtensions().getByType(JavaPluginExtension.class); run.getModularity().getInferModulePath().convention(javaPluginExtension.getModularity().getInferModulePath()); ObjectFactory objectFactory = project.getObjects();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 11.9K bytes - Viewed (0) -
platforms/jvm/plugins-groovy/src/main/java/org/gradle/api/plugins/GroovyBasePlugin.java
final JavaPluginExtension extension = javaPluginExtension(project); final JavaToolchainService service = extensionOf(project, JavaToolchainService.class); return service.launcherFor(extension.getToolchain()); } private static JavaPluginExtension javaPluginExtension(Project project) { return extensionOf(project, JavaPluginExtension.class); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 10.5K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/internal/JvmPluginsHelper.java
javadoc.setSource(sourceSet.getAllJava()); if (javaPluginExtension != null) { javadoc.getConventionMapping().map("destinationDir", () -> javaPluginExtension.getDocsDir().dir(javadocTaskName).get().getAsFile()); javadoc.getModularity().getInferModulePath().convention(javaPluginExtension.getModularity().getInferModulePath()); } }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 11.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/toolchain-task/groovy/build.gradle
abstract class CustomTaskUsingToolchains extends DefaultTask { @Nested abstract Property<JavaLauncher> getLauncher() // <1> CustomTaskUsingToolchains() { def toolchain = project.extensions.getByType(JavaPluginExtension.class).toolchain // <2> Provider<JavaLauncher> defaultLauncher = getJavaToolchainService().launcherFor(toolchain) // <3> launcher.convention(defaultLauncher) // <4> } @TaskAction
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmLanguageUtilities.java
compileTasks.add(compileTask); JavaPluginExtension java = project.getExtensions().getByType(JavaPluginExtension.class); configurationInternal.getAttributes().attributeProvider( TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:47:05 UTC 2024 - 4.6K bytes - Viewed (0)