Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for repoFor (0.1 sec)

  1. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningSamplesSpec.groovy

            given:
            inDirectory(sample.dir.file(dsl))
    
            when:
            run "publish"
    
            then:
            skipped(":signMainPublication")
    
            and:
            def module = repoFor(dsl).module('gradle', 'conditional', '1.0-SNAPSHOT')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. subprojects/core/src/crossVersionTest/groovy/org/gradle/testfixtures/ProjectBuilderCrossVersionIntegrationTest.groovy

            expect:
            run TEST_TASK_NAME
        }
    
        private void writeSourceFiles() {
            File repoDir = file('repo')
            publishHelloWorldPluginWithOldGradleVersion(repoDir)
            writeConsumingProject(repoDir)
        }
    
        private void publishHelloWorldPluginWithOldGradleVersion(File repoDir) {
            TestFile helloWorldPluginDir = temporaryFolder.createDir('hello')
    
            helloWorldPluginDir.with {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaModuleIntegrationTest.groovy

            //given
            def repoDir = file("repo")
            maven(repoDir).module("org.gradle", "artifact1").publish()
            maven(repoDir).module("org.gradle", "artifact2").publish()
    
            //when
            runIdeaTask """
    apply plugin: 'java'
    apply plugin: 'idea'
    
    repositories {
        maven { url "${repoDir.toURI()}" }
    }
    
    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  4. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/MavenS3Repository.groovy

        private final String bucket
        private final String repositoryPath
    
        MavenS3Repository(S3Server server, File repoDir, String repositoryPath, String bucket) {
            assert !bucket.startsWith('/')
            this.server = server
            this.bucket = bucket
            this.backingRepository = new MavenFileRepository(repoDir.file(bucket + repositoryPath))
            this.repositoryPath = repositoryPath
        }
    
        URI getUri() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/PluginVariantResolveIntegrationTest.groovy

            executer.inDirectory(file("my-plugin"))
            run 'publishAllPublicationsToBuildRepository'
            def repoLoc = file("my-plugin/build/repo").toURI().toURL().toString()
    
            settingsFile << """
                pluginManagement {
                    repositories {
                        maven { url = "$repoLoc" }
                    }
                }
    
                rootProject.name = 'test'
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 12:51:28 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/EclipseModelWithFlatRepoCrossVersionSpec.groovy

        def "can get Eclipse model for project with flatDir repo and external dependency without source Jar"() {
            def repoDir = projectDir.createDir("repo")
            repoDir.createFile("lib-1.0.jar")
    
            projectDir.file("build.gradle") << """
    apply plugin: "java"
    
    repositories {
    	flatDir dirs: file("${repoDir.toURI()}")
    }
    
    dependencies {
    	${implementationConfiguration} "some:lib:1.0"
    }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

        void respectsPerConfigurationExcludes() {
            def repoDir = file("repo")
            maven(repoDir).module("myGroup", "myArtifact1").dependsOnModules("myArtifact2").publish()
            maven(repoDir).module("myGroup", "myArtifact2").publish()
    
            runIdeaTask """
    apply plugin: 'java'
    apply plugin: 'idea'
    
    repositories {
        maven { url "${repoDir.toURI()}" }
    }
    
    configurations {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryPublishingIntegrationTest.groovy

                apply plugin: 'cpp-library'
                apply plugin: 'maven-publish'
    
                repositories { maven { url '${repoDir.toURI()}' } }
    
                group = 'some.group'
                version = '1.2'
                publishing {
                    repositories { maven { url '${repoDir.toURI()}' } }
                }
    
                dependencies {
                    api 'some.group:card:1.2'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

              false,
              false,
            )
          }
        }
      }
    
      private fun createWorkspace(): Workspace {
        val bndDir = workspaceDir / "cnf"
        val repoDir = bndDir / "repo"
        fileSystem.createDirectories(repoDir)
        return Workspace(workspaceDir.toFile(), bndDir.name)
          .apply {
            setProperty(
              "${Constants.PLUGIN}.$REPO_NAME",
              LocalIndexedRepo::class.java.getName() +
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpIntegrationTest.groovy

                }
            """
        }
    
        private generateEclipseFilesForWebProject(myArtifactVersion = "1.0") {
            def repoDir = file("repo")
            maven(repoDir).module("mygroup", "myartifact", myArtifactVersion).dependsOnModules("myartifactdep").publish()
            maven(repoDir).module("mygroup", "myartifactdep").publish()
    
            file("settings.gradle") << """
    include("web")
    include("java1")
    include("java2")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top