- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for sourceSets (0.13 sec)
-
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 Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Aug 01 08:06:31 UTC 2025 - 5.1K bytes - Viewed (0) -
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 Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 12.3K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild.test-fixtures.gradle.kts
} jvmCompile { addCompilationFrom(sourceSets.named("testFixtures")) { // By default, test fixtures compile to the same JVM version as the production code. targetJvmVersion = compilations.named("main").flatMap { it.targetJvmVersion } } } // The below mimics what the java-library plugin does, but creating a library of test fixtures instead. sourceSets.matching { it.name.endsWith("Test") }.all {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Jun 24 14:00:52 UTC 2025 - 3.5K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt
@Suppress("UnusedPrivateProperty") internal fun Project.createGenerateAutoTestedSamplesTestTask(sourceSet: SourceSet, testType: TestType) { val prefix = testType.prefix val sourceSets = the<SourceSetContainer>() val main by sourceSets.getting val sourceSet = sourceSets.getByName("${prefix}Test") val groovySourceDir = sourceSet.extensions.findByType<GroovySourceDirectorySet>()Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Aug 18 16:39:23 UTC 2025 - 12.8K bytes - Viewed (0) -
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") testRuntimeOnly("org.junit.platform:junit-platform-launcher") } tasks.test { useJUnitPlatform()
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Apr 28 14:56:52 UTC 2025 - 996 bytes - Viewed (0) -
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 Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Feb 12 13:19:06 UTC 2024 - 1.1K bytes - Viewed (0) -
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 Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Jul 02 12:28:02 UTC 2025 - 2.3K bytes - Viewed (0) -
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 Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 11.5K bytes - Viewed (1) -
build-logic/integration-testing/src/main/kotlin/gradlebuild.integration-tests.gradle.kts
extensions.create<IntegrationTestExtension>("integTest").apply { generateDefaultAutoTestedSamplesTest.convention(true) testJvmXmx.convention("512m") } val sourceSet = sourceSets.create("${TestType.INTEGRATION.prefix}Test") jvmCompile { addCompilationFrom(sourceSet) } addDependenciesAndConfigurations(TestType.INTEGRATION.prefix) configurations.named("integTestRuntimeClasspath") {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Aug 18 16:39:23 UTC 2025 - 2.4K bytes - Viewed (5) -
build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts
id("gradlebuild.dependency-modules") id("gradlebuild.jvm-compile") } val sourceSet = sourceSets.create("${TestType.CROSSVERSION.prefix}Test") jvmCompile { addCompilationFrom(sourceSet) } addDependenciesAndConfigurations(TestType.CROSSVERSION.prefix) createQuickFeedbackTasks() createAggregateTasks(sourceSet) configureIde(TestType.CROSSVERSION) configureTestFixturesForCrossVersionTests()
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Sep 05 02:31:24 UTC 2025 - 4.5K bytes - Viewed (0)