Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 306 for greece (0.11 sec)

  1. platforms/documentation/docs/src/snippets/customPlugins/customPluginWithAdvancedConvention/kotlin/build.gradle.kts

        val message: Property<String>
        val greeter: Property<String>
    }
    
    class GreetingPlugin : Plugin<Project> {
        override fun apply(project: Project) {
            val extension = project.extensions.create<GreetingPluginExtension>("greeting")
            project.task("hello") {
                doLast {
                    println("${extension.message.get()} from ${extension.greeter.get()}")
                }
            }
        }
    }
    
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-11-27 17:53
    - 601 bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppHelloWorldApp.groovy

                int main () {
                  Greeter greeter;
                  greeter.sayHello();
                  std::cout << sum(5, 7);
                  return 0;
                }
            """)
        }
    
        SourceFile getAlternateMainSource() {
            sourceFile("cpp", "main.cpp", """
                #include <iostream>
                #include "hello.h"
    
                int main () {
                  Greeter greeter;
                  greeter.sayHello();
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-11-16 20:20
    - 5K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeMultipleSwiftProjectIntegrationTest.groovy

                    dependencies {
                        implementation project(':greeter')
                    }
                }
                project(':greeter') {
                    apply plugin: 'swift-library'
                }
            """
            def app = new SwiftAppWithLibrary()
            app.library.writeToProject(file("greeter"))
            app.executable.writeToProject(file("app"))
    
            when:
            succeeds("xcode")
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-26 14:49
    - 23.3K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSwiftApplicationProjectIntegrationTest.groovy

                    .assertHasProjects("${rootProjectName}.xcodeproj", 'app/app.xcodeproj', 'greeter/greeter.xcodeproj')
    
            def project = xcodeProject("app/app.xcodeproj").projectFile
            project.indexTarget.getBuildSettings().SWIFT_INCLUDE_PATHS == null
            // TODO: SWIFT_INCLUDE_PATHS should contains ("greeter/build/modules/main/debug")
    
            when:
            def resultApp = xcodebuild
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-04-02 20:50
    - 6.1K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/swiftapp/main.swift.template

    ${fileComment.multilineComment}
    class Greeter {
        public func greeting() -> String {
            return "Hello, World!"
        }
    }
    
    let greeter = Greeter()
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-12-26 19:39
    - 177 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/webApplication/quickstart/kotlin/src/main/webapp/index.jsp

    <jsp:useBean id="greeter" class="org.gradle.sample.Greeter"/>
    <html>
    <p>${greeter.greeting}</p>
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-11-27 17:53
    - 103 bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppGreeterUsesLogger.groovy

    #define GREETING "${HelloWorldApp.HELLO_WORLD}"
    """))
    
        final SourceFileElement source = ofFile(new SourceFile("cpp", "greeter.cpp", """
    #include <iostream>
    #include <string>
    #include "greeter.h"
    #include "logger.h"
    #include "greeter_consts.h"
    
    void Greeter::sayHello() {
        Logger logger;
        std::string str(GREETING);
        logger.log(str);
    }
    """))
    
        final SourceElement publicHeaders = header
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-11-16 20:20
    - 1.8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/webApplication/quickstart/groovy/src/main/webapp/index.jsp

    <jsp:useBean id="greeter" class="org.gradle.sample.Greeter"/>
    <html>
    <p>${greeter.greeting}</p>
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-11-27 17:53
    - 103 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/providers/propertyConventionCallsites/kotlin/build.gradle.kts

        // tag::convention-callsites-from-declaration[]
        // setting convention from declaration
        @Input
        val greeter = project.objects.property<String>().convention("person1")
        // end::convention-callsites-from-declaration[]
    
        @TaskAction
        fun greet() {
            println("hello, ${guest.get()}, from ${greeter.get()}")
        }
    }
    
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-04-10 16:56
    - 1.3K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/cpplibrary/hello_test.cpp.template

    ${fileComment.multilineComment}
    #include "${projectName.groovyString}.h"
    #include <cassert>
    
    int main() {
        ${namespace.groovyString}::Greeter greeter;
        assert(greeter.greeting().compare("Hello, World!") == 0);
        return 0;
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-12-26 19:39
    - 232 bytes
    - Viewed (0)
Back to top