Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for sourceSets (0.18 sec)

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

      //
      // The forwarding SourceSet also needs to fake out some task names to prevent them from being
      // registered twice.
      //
      // https://github.com/bndtools/bnd/issues/6590
      val jvmMainSourceSet = sourceSets.getByName("jvmMain")
      val mainSourceSet =
        object : SourceSet by jvmMainSourceSet {
          override fun getName() = "main"
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. okhttp/build.gradle.kts

      }
    }
    
    configure<CheckstyleExtension> {
      config = resources.text.fromArchiveEntry(checkstyleConfig, "google_checks.xml")
      toolVersion = rootProject.libs.versions.checkStyle.get()
      sourceSets = listOf(project.sourceSets["jvmMain"])
    }
    
    afterEvaluate {
      tasks.withType<Test> {
        if (javaLauncher.get().metadata.languageVersion.asInt() < 9) {
          // Work around robolectric requirements and limitations
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 03:59:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. 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"])
          signatures = androidSignature + jvmSignature
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. native-image-tests/build.gradle.kts

    plugins {
      id("org.graalvm.buildtools.native")
      kotlin("jvm")
    }
    
    animalsniffer {
      isIgnoreFailures = true
    }
    
    // TODO reenable other tests
    // https://github.com/square/okhttp/issues/8901
    //sourceSets {
    //  test {
    //    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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 904 bytes
    - Viewed (0)
  5. okcurl/build.gradle.kts

      into(layout.buildDirectory.dir("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(projects.okhttp)
      api(projects.loggingInterceptor)
      api(libs.squareup.okio)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. android-test/build.gradle.kts

          "notPackage" to "org.bouncycastle",
          "configurationParameters" to "junit.jupiter.extensions.autodetection.enabled=true"
        )
      }
    
      if (androidBuild) {
        sourceSets["androidTest"].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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 20:01:04 UTC 2025
    - 3.8K bytes
    - Viewed (2)
  7. .teamcity/src/main/kotlin/model/FunctionalTestBucketModel.kt

     * limitations under the License.
     */
    
    package model
    
    import configurations.FunctionalTest
    import configurations.ParallelizationMethod
    import java.util.SortedSet
    
    class TestClassTime(
        val sourceSet: String,
        val buildTimeMs: Int,
    )
    
    data class TestCoverageAndBucketSplits(
        val testCoverageUuid: Int,
        val buckets: List<FunctionalTestBucket>,
    )
    
    data class FunctionalTestBucket(
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Apr 10 15:09:32 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

                    .map {
                        SubprojectTestClassTime(
                            model.subprojects.getSubprojectByName(it.key)!!,
                            it.value.filter { tct ->
                                tct.sourceSet != "test"
                            },
                        )
                    }.sortedBy { -it.totalTime }
                    .filter { onlyNativeSubprojectsForIntelMacs(testCoverage, it.subProject.name) }
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Apr 10 15:09:32 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top