Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 82 for BuildOption (0.17 sec)

  1. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/BooleanBuildOptionTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.buildoption
    
    import org.gradle.cli.CommandLineOption
    import org.gradle.cli.CommandLineParser
    import org.gradle.cli.ParsedCommandLine
    import spock.lang.Specification
    
    import static org.gradle.internal.buildoption.BuildOptionFixture.*
    
    class BooleanBuildOptionTest extends Specification {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/EnabledOnlyBooleanBuildOptionTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.buildoption
    
    import org.gradle.cli.CommandLineOption
    import org.gradle.cli.CommandLineParser
    import org.gradle.cli.ParsedCommandLine
    import spock.lang.Specification
    
    import static org.gradle.internal.buildoption.BuildOptionFixture.*
    
    class EnabledOnlyBooleanBuildOptionTest extends Specification {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/InternalOption.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.buildoption;
    
    /**
     * An internal Gradle option, that can be set using a system property.
     *
     * @param <T> The value of the option.
     */
    public interface InternalOption<T> extends Option {
        T getDefaultValue();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 926 bytes
    - Viewed (0)
  4. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/EnumBuildOptionTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.buildoption
    
    import spock.lang.Specification
    
    class EnumBuildOptionTest extends Specification {
        def option = new MyEnumBuildOption()
    
        def "reasonable error message when user doesn't select a correct value"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/InternalFlag.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.buildoption;
    
    /**
     * A boolean internal option.
     */
    public class InternalFlag implements InternalOption<Boolean> {
        private final String systemPropertyName;
        private final boolean defaultValue;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/StringBuildOptionTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.buildoption
    
    import org.gradle.cli.CommandLineOption
    import org.gradle.cli.CommandLineParser
    import org.gradle.cli.ParsedCommandLine
    import spock.lang.Specification
    
    import static org.gradle.internal.buildoption.BuildOptionFixture.*
    
    class StringBuildOptionTest extends Specification {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/InternalOptions.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.buildoption;
    
    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    /**
     * A service that determines the value for an {@link InternalOption}.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransformInvocationFactory.java

    import org.gradle.api.internal.project.ProjectStateRegistry;
    import org.gradle.cache.Cache;
    import org.gradle.internal.Deferrable;
    import org.gradle.internal.Try;
    import org.gradle.internal.buildoption.InternalOptions;
    import org.gradle.internal.buildoption.StringInternalOption;
    import org.gradle.internal.execution.ExecutionEngine;
    import org.gradle.internal.execution.ExecutionEngine.IdentityCacheResult;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:14:33 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/BuildOptionFixture.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.buildoption
    
    import org.gradle.cli.CommandLineOption
    
    final class BuildOptionFixture {
    
        public static final String GRADLE_PROPERTY = 'org.gradle.test'
        public static final String LONG_OPTION = 'test'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/FeatureFlags.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.buildoption;
    
    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    /**
     * A service that determines whether a feature flag is enabled or not.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top