- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 123 for GetByType (0.2 sec)
-
build-logic/uber-plugins/src/main/kotlin/gradlebuild.java-library.gradle.kts
val unmigratedProjects: String by project val unmigratedProjectsList = unmigratedProjects.split(",").map { it.trim() } if (!unmigratedProjectsList.contains(project.name)) { val dependencyAnalysis = project.extensions.getByType<DependencyAnalysisSubExtension>() dependencyAnalysis.issues { onAny { severity("fail") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 17:16:23 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/InstrumentationCodeGeneratorHost.java
Optional<ExecutableElement> maybeOriginatingElement = Optional.ofNullable(details.request) .flatMap(presentRequest -> presentRequest.getRequestExtras().getByType(OriginatingElement.class).map(OriginatingElement::getElement)); if (maybeOriginatingElement.isPresent()) { messager.printMessage(Diagnostic.Kind.ERROR, details.reason, maybeOriginatingElement.get());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/software/plugins-distribution/src/integTest/groovy/org/gradle/api/distribution/plugins/DistributionPluginTest.groovy
def "adds convention object and a main distribution"() { when: project.pluginManager.apply(DistributionPlugin) then: def distributions = project.extensions.getByType(DistributionContainer.class) def dist = distributions.main dist.name == 'main' dist.distributionBaseName.get() == 'test-project' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 20 21:03:51 UTC 2023 - 5.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-plugins/src/main/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginOptions.kt
.withUpgradeGuideSection(7, "kotlin_dsl_plugin_toolchains") .nagUser() } internal fun Project.kotlinDslPluginOptions(action: KotlinDslPluginOptions.() -> Unit) =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 06:37:53 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/software/publish/src/test/groovy/org/gradle/api/publish/plugins/PublishingPluginTest.groovy
class PublishingPluginTest extends AbstractProjectBuilderSpec { PublishingExtension extension def setup() { project.pluginManager.apply(PublishingPlugin) extension = project.extensions.getByType(PublishingExtension) } def "publishing extension is installed"() { expect: extension.publications != null extension.publications instanceof PublicationContainer
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 2.1K bytes - Viewed (0) -
buildSrc/src/main/kotlin/Osgi.kt
bndProperties: Array<out String>, ) { val osgi = project.sourceSets.create("osgi") val osgiApi = project.configurations.getByName(osgiApiConfigurationName) val kotlinOsgi = extensions.getByType(VersionCatalogsExtension::class.java).named("libs") .findLibrary("kotlin.stdlib.osgi").get().get() project.dependencies { osgiApi(kotlinOsgi) } val jarTask = tasks.getByName<Jar>(jarTaskName)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/main/kotlin/org/gradle/kotlin/dsl/ToolchainManagementExtensions.kt
* The "jvm-toolchain-management" plugin needs to be applied in order for these extensions to work. * * @since 7.6 */ @get:Incubating val ToolchainManagement.jvm: JvmToolchainManagement
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 28 16:17:59 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/AbstractCodeQualityPlugin.java
extensionMapping.map("reportsDir", new Callable<File>() { @Override public File call() { return project.getExtensions().getByType(ReportingExtension.class).file(getReportName()); } }); withBasePlugin(new Action<Plugin>() { @Override public void execute(Plugin plugin) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 08:01:57 UTC 2024 - 8.8K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/features/withstaticreference/WithExtensionReferencesReader.java
@Override public Collection<CallInterceptionRequest> postProcessRequest(CallInterceptionRequest originalRequest) { if (shouldPostProcess(originalRequest)) { originalRequest.getRequestExtras().getByType(RequestExtra.OriginatingElement.class).ifPresent(originatingElement -> { ExecutableElement element = originatingElement.getElement();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 3.4K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.configure-ci-artifacts.gradle.kts
import org.jlleitschuh.gradle.ktlint.tasks.GenerateReportsTask if (BuildEnvironment.isCiServer && project.name != "gradle-kotlin-dsl-accessors") { val globalExtension = rootProject.extensions.getByType<TestFilesCleanupBuildServiceRootExtension>() project.gradle.taskGraph.whenReady { val allTasks = ******@****.***ks
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 20 15:24:41 UTC 2023 - 2.3K bytes - Viewed (0)