Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for createSpec (0.14 sec)

  1. testing/smoke-ide-test/src/smokeIdeTest/groovy/org/gradle/ide/sync/fixtures/IsolatedProjectsIdeSyncFixture.groovy

        }
    
        void assertHtmlReportHasProblems(
            @DelegatesTo(value = HasConfigurationCacheProblemsInReportSpec, strategy = Closure.DELEGATE_FIRST) Closure<?> specClosure
        ) {
            def spec = createSpec(specClosure)
            def jsModel = readJsModelFromReport()
            checkProblemsAgainstModel(spec, jsModel)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/plugin/use/internal/PluginsAwareScript.java

            if (pluginRequestCollector == null) {
                pluginRequestCollector = new PluginRequestCollector(getScriptSource());
            }
            PluginDependenciesSpec spec = pluginRequestCollector.createSpec(lineNumber);
            ConfigureUtil.configure(configureClosure, spec);
        }
    
        public PluginRequests getPluginRequests() {
            if (pluginRequestCollector != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:07 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. platforms/jvm/scala/src/main/java/org/gradle/language/scala/tasks/AbstractScalaCompile.java

        }
    
        abstract protected Compiler<ScalaJavaJointCompileSpec> getCompiler(ScalaJavaJointCompileSpec spec);
    
        @TaskAction
        public void compile() {
            ScalaJavaJointCompileSpec spec = createSpec();
            configureIncrementalCompilation(spec);
            Compiler<ScalaJavaJointCompileSpec> compiler = getCompiler(spec);
            if (isNonIncrementalCompilation()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/plugin/use/internal/PluginRequestCollectorTest.groovy

        static final int LINE_NUMBER = 10
    
        List<Map> plugins(@DelegatesTo(PluginDependenciesSpec) Closure<?> closure) {
            new PluginRequestCollector(scriptSource).with {
                createSpec(LINE_NUMBER).with(closure)
                listPluginRequests()
            }.collect {
                [id: it.id.id, version: it.version]
            }
        }
    
        def "can use spec dsl to build one request"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 26 22:35:11 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/PluginDependenciesSpecScopeTest.kt

        PluginRequestCollector(
            TextResourceScriptSource(StringTextResource("script", ""))
        ).run {
            PluginDependenciesSpecScope(createSpec(1)).block()
            pluginRequests.toList()
        }
    
    
    fun plugin(id: String, version: String? = null, isApply: Boolean = true) = Plugin(id, version, isApply)
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 06:46:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/compile/JavaCompile.java

         *
         * @since 6.0
         */
        @TaskAction
        protected void compile(InputChanges inputs) {
            DefaultJavaCompileSpec spec = createSpec();
            if (!compileOptions.isIncremental()) {
                performFullCompilation(spec);
            } else {
                performIncrementalCompilation(inputs, spec);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:33:35 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/main/java/org/gradle/language/swift/tasks/SwiftCompile.java

            NativePlatformInternal targetPlatform = Cast.cast(NativePlatformInternal.class, this.targetPlatform.get());
            SwiftCompileSpec spec = createSpec(operationLogger, isIncremental, changedFiles, removedFiles, targetPlatform);
            Compiler<SwiftCompileSpec> baseCompiler = new IncrementalSwiftCompiler(
                createCompiler(),
                getOutputs(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/plugin/use/internal/PluginRequestCollector.java

            this.scriptSource = scriptSource;
        }
    
        private final List<PluginDependencySpecImpl> specs = new LinkedList<PluginDependencySpecImpl>();
    
        public PluginDependenciesSpec createSpec(final int pluginsBlockLineNumber) {
            return new PluginDependenciesSpecImpl(pluginsBlockLineNumber);
        }
    
        public PluginRequests getPluginRequests() {
            if (specs.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 05:41:21 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompiler.kt

                emitPluginRequestCollectorInstantiation()
    
                NEW(compiledBuildscriptWithPluginsBlock)
                ALOAD(Vars.ScriptHost)
                // ${plugins}(temp.createSpec(lineNumber))
                emitPluginRequestCollectorCreateSpecFor(plugins)
                loadTargetOf(implicitReceiverType)
                INVOKESPECIAL(
                    compiledBuildscriptWithPluginsBlock,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:45 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  10. platforms/jvm/language-groovy/src/main/java/org/gradle/api/tasks/compile/GroovyCompile.java

        }
    
        @TaskAction
        protected void compile(InputChanges inputChanges) {
            checkGroovyClasspathIsNonEmpty();
            warnIfCompileAvoidanceEnabled();
            GroovyJavaJointCompileSpec spec = createSpec();
            maybeDisableIncrementalCompilationAfterFailure(spec);
            WorkResult result = createCompiler(spec, inputChanges).execute(spec);
            setDidWork(result.getDidWork());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top