Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for sourceSets (0.07 sec)

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

        setClasspath(osgi.compileClasspath + sourceSets["main"].compileClasspath)
        bnd(*bndProperties)
      }
      // Call the convention when the task has finished, to modify the jar to contain OSGi metadata.
      jarTask.doLast {
        bundleExtension.buildAction().execute(this)
      }
    }
    
    val Project.sourceSets: SourceSetContainer
    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.gradle.kts

        toolVersion = rootProject.libs.versions.checkStyle.get()
        sourceSets = listOf(project.sourceSets["main"])
      }
    
      // Animal Sniffer confirms we generally don't use APIs not on Java 8.
      configure<AnimalSnifferExtension> {
        annotation = "okhttp3.internal.SuppressSignatureCheck"
        sourceSets = listOf(project.sourceSets["main"])
      }
    
      val signature: Configuration by configurations.getting
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jun 23 17:02:02 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. build-logic-commons/basics/build.gradle.kts

            because("Required by KotlinSourceParser")
        }
        implementation(kotlin("gradle-plugin") as String) {
            because("For manually defined KotlinSourceSet accessor - sourceSets.main.get().kotlin")
        }
    
        testImplementation("org.junit.jupiter:junit-jupiter-engine:5.8.2")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 17 10:11:26 UTC 2024
    - 893 bytes
    - Viewed (0)
  4. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts

        title = project.name
        versionFile = repoRoot().file("version.txt")
        releasedVersionsFile = releasedVersionsFile()
        sources.from(sourceSets.main.get().java.sourceDirectories)
        sources.from(sourceSets.main.get().groovy.sourceDirectories)
        htmlReportFile = file(layout.buildDirectory.file("reports/incubation/${project.name}.html"))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 12 13:19:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/accessors/accessors.kt

    
    // TODO these accessors should be generated - https://github.com/gradle/gradle/issues/3191
    
    val Project.kotlinMainSourceSet: SourceDirectorySet
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 12 13:19:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild.task-properties-validation.gradle.kts

     */
    
    plugins {
        java
    }
    
    val validateTaskName = "validatePlugins"
    val reportFileName = "task-properties/report.txt"
    
    tasks.register<ValidatePlugins>(validateTaskName) {
        val main = project.sourceSets.main.get()
        classes.from(main.output)
        classpath.from(main.runtimeClasspath)
        outputFile = project.reporting.baseDirectory.file(reportFileName)
        enableStricterValidation = true
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jan 20 15:24:40 UTC 2023
    - 1008 bytes
    - Viewed (0)
  7. okcurl/build.gradle.kts

      from("src/main/resources-templates")
      into("$buildDir/generated/resources-templates")
      expand("projectVersion" to "${project.version}")
      filteringCharset = Charsets.UTF_8.toString()
    }
    
    kotlin {
      sourceSets {
        val main by getting {
          resources.srcDir(copyResourcesTemplates.get().outputs)
        }
      }
    }
    
    dependencies {
      api(libs.kotlin.stdlib)
      api(projects.okhttp)
      api(projects.loggingInterceptor)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. native-image-tests/build.gradle.kts

      implementation(libs.kotlin.test.junit)
    
      implementation(libs.nativeImageSvm)
    
      compileOnly(libs.findbugs.jsr305)
    }
    
    animalsniffer {
      isIgnoreFailures = true
    }
    
    sourceSets {
      main {
        java.srcDirs(
          "../okhttp-brotli/src/test/java",
          "../okhttp-dnsoverhttps/src/test/java",
          "../okhttp-logging-interceptor/src/test/java",
          "../okhttp-sse/src/test/java",
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

        "JavaUtilDate", // We are fine with using Date
        "StringSplitter", // We are fine with using String.split() as is
    )
    
    project.plugins.withType<JavaBasePlugin> {
        project.extensions.getByName<SourceSetContainer>("sourceSets").configureEach {
            val extension = this.extensions.create<ErrorProneSourceSetExtension>("errorprone", project.objects.property<Boolean>())
            // Enable it only for the main source set by default, as incremental Groovy
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. okhttp/build.gradle.kts

      mainClass.set("okhttp3.internal.idn.GenerateIdnaMappingTableCode")
      args("$buildDir/generated/sources/idnaMappingTable")
      classpath = generateIdnaMappingTableConfiguration
    }
    
    kotlin {
      sourceSets {
        getByName("main") {
          kotlin.srcDir(copyKotlinTemplates.get().outputs)
          kotlin.srcDir(generateIdnaMappingTable.outputs)
        }
      }
    }
    
    project.applyOsgi(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top