Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 131 for buildTypes (0.16 sec)

  1. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioFileCustomizationIntegrationTest.groovy

            buildFile << """
        apply plugin: 'cpp'
        apply plugin: 'visual-studio'
    
        model {
            platforms {
                win32 {
                    architecture "i386"
                }
            }
            buildTypes {
                debug
                release
            }
            components {
                main(NativeExecutableSpec)
            }
        }
    """
        }
    
        @Requires(IntegTestPreconditions.IsEmbeddedExecutor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelMultiProjectIntegrationTest.groovy

                allprojects {
                    apply plugin: 'visual-studio'
                }
                subprojects {
                    apply plugin: 'cpp'
    
                    model {
                        buildTypes {
                            debug
                            release
                        }
                    }
                }
            """
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 26K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryConfigurationIntegrationTest.groovy

            main(NativeExecutableSpec)
        }
    }
    task installDeveloperImage {
        description = "Install all debug executables"
        binaries.withType(NativeExecutableBinary) {
            if (it.buildable && buildType == buildTypes.debug) {
                dependsOn it.tasks.install
            }
        }
    }
    '''
            and:
            helloWorldApp.writeSources(file("src/main"))
    
            expect:
            succeeds "tasks"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelSingleProjectIntegrationTest.groovy

            """
            buildFile << """
                model {
                    components {
                        both(NativeLibrarySpec) {
                            binaries.all {
                                if (buildType == buildTypes.debug) {
                                    buildable = false
                                }
                            }
                        }
                        staticOnly(NativeLibrarySpec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidPluginsSmokeTest.groovy

                    }
                    compileOptions {
                        sourceCompatibility JavaVersion.VERSION_1_8
                        targetCompatibility JavaVersion.VERSION_1_8
                    }
                    buildTypes {
                        release {
                            minifyEnabled false
                        }
                    }
                }
            """.stripIndent()
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/BuildType.java

    import org.gradle.api.Named;
    
    import java.util.Arrays;
    import java.util.Collection;
    
    public final class BuildType implements Named {
        public static final BuildType DEBUG = new BuildType("debug", true, false);
        public static final BuildType RELEASE = new BuildType("release", true, true);
        public static final Collection<BuildType> DEFAULT_BUILD_TYPES = Arrays.asList(DEBUG, RELEASE);
    
        private final boolean debuggable;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/BuildType.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal;
    
    public enum BuildType {
        TASKS,
        MODEL
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 15 22:31:06 UTC 2020
    - 698 bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/BuildType.java

    import org.gradle.api.Incubating;
    import org.gradle.api.Named;
    
    /**
     * Specifies a build-type for a native binary. Common build types are 'debug' and 'release', but others may be defined.
     */
    @Incubating
    public interface BuildType extends Named {
        /**
         * Returns a human-consumable name for this build type.
         */
        String getDisplayName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1006 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    For example, both `configurations` and `tasks` are container objects that contain `Configuration` and `Task` objects respectively.
    Community plugins also contribute containers, like the `android.buildTypes` container contributed by the Android Plugin.
    
    The Kotlin DSL provides several ways for build authors to interact with containers.
    We look at each of those ways next, using the `tasks` container as an example.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/NativeBinarySpecTest.groovy

        def platform1 = Stub(NativePlatform) {
            getArchitecture() >> Architectures.forInput("i386")
        }
        def buildType1 = Stub(BuildType) {
            getName() >> "BuildType1"
        }
        def resolver = Mock(NativeDependencyResolver)
    
        def "uses resolver to resolve lib to dependency"() {
            def binary = testBinary(component, flavor1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top