Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getByType (0.07 sec)

  1. buildSrc/src/main/kotlin/Osgi.kt

      bndProperties: Array<out String>,
    ) {
      val osgi = project.sourceSets.create("osgi")
      val osgiApi = project.configurations.getByName(osgiApiConfigurationName)
      val kotlinOsgi =
        extensions.getByType(VersionCatalogsExtension::class.java).named("libs")
          .findLibrary("kotlin.stdlib.osgi").get().get()
    
      project.dependencies {
        osgiApi(kotlinOsgi)
      }
    
      val jarTask = tasks.getByName<Jar>(jarTaskName)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

        public void apply(Project project) {
            ProjectLayout layout = project.getLayout();
            TaskContainer tasks = project.getTasks();
    
            GradleDocumentationExtension extension = project.getExtensions().getByType(GradleDocumentationExtension.class);
            generateJavadocs(project, layout, tasks, extension);
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

        private static final String TASK_NAME = "dokkatooGeneratePublicationHtml";
    
        @Override
        public void apply(Project project) {
            GradleDocumentationExtension documentationExtension = project.getExtensions().getByType(GradleDocumentationExtension.class);
            applyPlugin(project);
            updateDocumentationExtension(project, documentationExtension);
            configurePlugin(project, documentationExtension);
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

        public void apply(Project project) {
            ProjectLayout layout = project.getLayout();
            TaskContainer tasks = project.getTasks();
    
            GradleDocumentationExtension extension = project.getExtensions().getByType(GradleDocumentationExtension.class);
    
            generateReleaseNotes(project, layout, tasks, extension);
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 08:15:16 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. container-tests/build.gradle.kts

      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
      )
    
      if (platform == "loom") {
        jvmArgs(
          "-Djdk.tracePinnedThreads=short",
        )
      }
    
      val javaToolchains = project.extensions.getByType<JavaToolchainService>()
      javaLauncher.set(javaToolchains.launcherFor {
        languageVersion.set(JavaLanguageVersion.of(testJavaVersion))
      })
    }
    
    dependencies {
      api(projects.okhttp)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 17 14:46:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild.configure-ci-artifacts.gradle.kts

    import gradlebuild.binarycompatibility.JapicmpTask
    
    if (BuildEnvironment.isCiServer && project.name != "gradle-kotlin-dsl-accessors") {
        val globalExtension = rootProject.extensions.getByType<TestFilesCleanupBuildServiceRootExtension>()
        project.gradle.taskGraph.whenReady {
            val allTasks = ******@****.***ks
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 11 14:21:47 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ci-reporting.gradle.kts

    }
    
    if ("CI" in System.getenv() && project.name != "gradle-kotlin-dsl-accessors") {
        rootProject.plugins.apply(TestFilesCleanupRootPlugin::class.java)
        val globalExtension = rootProject.extensions.getByType<TestFilesCleanupBuildServiceRootExtension>()
    
        val projectState = objects.newInstance(TestFilesCleanupProjectState::class.java)
    
        globalExtension.projectStates.put(path, projectState)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    import org.gradle.kotlin.dsl.*
    
    
    // `generatePrecompiledScriptPluginAccessors` task invokes this method without `gradle.build-environment` applied
    fun Project.getBuildEnvironmentExtension(): BuildEnvironmentExtension = extensions.getByType(BuildEnvironmentExtension::class.java)
    
    fun Project.getBuildEnvironmentExtensionOrNull(): BuildEnvironmentExtension? = extensions.findByType(BuildEnvironmentExtension::class.java)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. build.gradle.kts

          "-Dokhttp.platform=$platform",
        )
    
        if (platform == "loom") {
          jvmArgs(
            "-Djdk.tracePinnedThreads=short",
          )
        }
    
        val javaToolchains = project.extensions.getByType<JavaToolchainService>()
        javaLauncher.set(javaToolchains.launcherFor {
          languageVersion.set(JavaLanguageVersion.of(testJavaVersion))
        })
    
        maxParallelForks = Runtime.getRuntime().availableProcessors() * 2
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jun 23 17:02:02 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

        public void apply(Project project) {
            ProjectLayout layout = project.getLayout();
            TaskContainer tasks = project.getTasks();
    
            GradleDocumentationExtension extension = project.getExtensions().getByType(GradleDocumentationExtension.class);
            generateDefaultImports(project, tasks, extension);
            generateUserManual(project, tasks, layout, extension);
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Mar 01 05:46:51 UTC 2024
    - 17.7K bytes
    - Viewed (0)
Back to top