Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for sourceSet (0.19 sec)

  1. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

    internal
    fun Project.addSourceSet(testType: TestType): SourceSet {
        val prefix = testType.prefix
        val sourceSets = the<SourceSetContainer>()
        val main by sourceSets.getting
        return sourceSets.create("${prefix}Test") {
            compileClasspath += main.output
            runtimeClasspath += main.output
        }
    }
    
    
    internal
    fun Project.createTasks(sourceSet: SourceSet, testType: TestType) {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

    plugins {
        java
        id("gradlebuild.module-identity")
        id("gradlebuild.dependency-modules")
    }
    
    val sourceSet = addSourceSet(TestType.CROSSVERSION)
    addDependenciesAndConfigurations(TestType.CROSSVERSION.prefix)
    createQuickFeedbackTasks()
    createAggregateTasks(sourceSet)
    configureIde(TestType.CROSSVERSION)
    configureTestFixturesForCrossVersionTests()
    
    fun configureTestFixturesForCrossVersionTests() {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild.integration-tests.gradle.kts

        usesJavadocCodeSnippets.convention(false)
        testJvmXmx.convention("512m")
    }
    
    val sourceSet = addSourceSet(TestType.INTEGRATION)
    addDependenciesAndConfigurations(TestType.INTEGRATION.prefix)
    createTasks(sourceSet, TestType.INTEGRATION)
    configureIde(TestType.INTEGRATION)
    
    createTestTask("integMultiVersionTest", "forking", sourceSet, TestType.INTEGRATION) {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Tue Nov 21 22:31:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

        val buildTimeMs: Int
    ) {
        constructor(jsonObject: JSONObject) : this(
            TestClassAndSourceSet(
                jsonObject.getString("testClass"),
                jsonObject.getString("sourceSet")
            ),
            jsonObject.getIntValue("buildTimeMs")
        )
    }
    
    data class TestCoverageAndBucketSplits(
        val testCoverageUuid: Int,
        val buckets: List<FunctionalTestBucket>
    )
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Feb 15 17:04:41 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

        reportFormat = "console"
    }
    
    tasks.withType<CodeNarc>().configureEach {
        if (name.contains("IntegTest")) {
            config = configFile("codenarc-integtests.xml")
        }
    }
    
    val SourceSet.allGroovy: SourceDirectorySet
        get() = the<GroovySourceDirectorySet>()
    
    abstract class CodeNarcRule @Inject constructor(
        private val groovyVersion: String
    ) : ComponentMetadataRule {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 30 10:26:21 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

                emptyList(),
                extraParameters = "-PonlyTestGradleVersion=$startInclusive-$endExclusive"
            )
        }
    }
    
    data class TestClassAndSourceSet(
        val testClass: String,
        val sourceSet: String
    )
    
    data class SmallSubprojectBucket(
        val subprojects: List<GradleSubproject>,
        val parallelizationMethod: ParallelizationMethod
    ) : BuildTypeBucket {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Jan 18 05:14:09 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. ChangeLog.md

    - [`KT-61833`](https://youtrack.jetbrains.com/issue/KT-61833) K2: annotations added via `addMetadataVisibleAnnotationsToElement` to declarations from common sourceset in MPP project are invisible
    - [`KT-60051`](https://youtrack.jetbrains.com/issue/KT-60051) K2: Support metadata serialization of primitive const annotation arguments generated by IR plugins
    
    ### Tools. Compiler Plugins
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Dec 21 17:48:12 GMT 2023
    - 268.7K bytes
    - Viewed (1)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                    added("Method", "SourceKt.getBazarExt(int)"),
                    added("Method", "SourceKt.getBazool()"),
                    added("Method", "SourceKt.getBool()"),
                    added("Method", "SourceKt.invoke(java.lang.String,java.lang.String,kotlin.jvm.functions.Function1)"),
                    added("Method", "SourceKt.isBool()"),
                    added("Method", "SourceKt.isFool()"),
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  9. 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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. 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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top