- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 491 for sourceSets (0.18 sec)
-
platforms/documentation/docs/src/snippets/scala/customizedLayout/kotlin/build.gradle.kts
version = "1.0" repositories { mavenCentral() } dependencies { implementation("org.scala-lang:scala-library:2.13.12") testImplementation("junit:junit:4.13") } // tag::custom-source-locations[] sourceSets { main { scala { setSrcDirs(listOf("src/scala")) } } test { scala { setSrcDirs(listOf("test/scala")) } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 455 bytes - Viewed (0) -
platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/idea/IdeaPluginTest.groovy
when: applyPluginToProjects() project.apply(plugin: 'java') project.sourceSets.main.output.dir 'generated-folder' project.sourceSets.main.output.dir 'ws-generated' project.sourceSets.test.output.dir 'generated-test' project.sourceSets.test.output.dir 'test-resources' then: def runtime = project.ideaModule.module.singleEntryLibraries.RUNTIME
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 01 11:07:39 UTC 2023 - 9.2K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild.test-fixtures.gradle.kts
plugins { `java-library` `java-test-fixtures` groovy id("gradlebuild.dependency-modules") } // The below mimics what the java-library plugin does, but creating a library of test fixtures instead. sourceSets.matching { it.name.endsWith("Test") }.all { // the 'test' (with lower case 't') source set is already configured to use test fixtures by the JavaTestFixturesPlugin
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 12 13:19:06 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/multiproject/dependencies-outgoingArtifact/kotlin/producer/build.gradle.kts
} version = "1.0" val buildInfo by tasks.registering(BuildInfo::class) { version = project.version.toString() outputFile = layout.buildDirectory.file("generated-resources/build-info.properties") } sourceSets { main { output.dir(buildInfo.map { it.outputFile.asFile.get().parentFile }) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 349 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/kotlinDsl/accessors/kotlin/build.gradle.kts
testImplementation("junit:junit:4.13") } configurations { // <1> implementation { resolutionStrategy.failOnVersionConflict() } } sourceSets { // <2> main { // <3> java.srcDir("src/core/java") } } java { // <4>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 833 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/customizedLayout/groovy/build.gradle
plugins { id 'java' } repositories { mavenCentral() } dependencies { testImplementation 'junit:junit:4.13' } // tag::define-main[] sourceSets { main { java { srcDirs = ['src/java'] } resources { srcDirs = ['src/resources'] } } // end::define-main[] test { java { srcDir 'test/java' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 513 bytes - Viewed (0) -
platforms/documentation/docs/src/samples/java/jvm-multi-project-with-toolchains/groovy/application/build.gradle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 500 bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/IdeaPlugin.java
public Map<String, FileCollection> call() { SourceSetContainer sourceSets = project.getExtensions().getByType(JavaPluginExtension.class).getSourceSets(); singleEntryLibraries.putIfAbsent("RUNTIME", sourceSets.getByName("main").getOutput().getDirs()); singleEntryLibraries.putIfAbsent("TEST", sourceSets.getByName("test").getOutput().getDirs()); return singleEntryLibraries;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 12 14:00:13 UTC 2023 - 25.2K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/java/jvm-multi-project-with-toolchains/kotlin/application/build.gradle.kts
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 505 bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/BuildSrcClassPathModeConfigurationAction.kt
filter { it.plugins.hasPlugin(JavaBasePlugin::class.java) } private fun Sequence<Project>.allSourceSetsRoots() = flatMap { it.sourceSets.flatMap { it.allSource.srcDirs }.asSequence() } private val Project.sourceSets get() = the<SourceSetContainer>() } @CacheableTask abstract class GenerateSourceRootsFile : DefaultTask() { @get:Input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 06 15:06:32 UTC 2023 - 3.6K bytes - Viewed (0)