Code Monkey home page Code Monkey logo

Comments (3)

oehme avatar oehme commented on May 13, 2024

This Epic should not be called "remote init scripts". Init scripts are decorative (i.e. a build should work without them). If something is part of the build's definition (like the plugin repositories to be used), it should be applied as a settings script. The Settings instance also has access to all methods of the Gradle instance and thus can do anything an init script could do. This should already be possible:

pluginRepositories {
  apply from: 'http:\\.../plugin-repositories.gradle', to: pluginRepositories
}

In plugin-repositories.gradle:

maven {
  url = '...'
}

from gradle.

oehme avatar oehme commented on May 13, 2024

Another use case is defining plugin repositories from within a custom Gradle distribution. This will also be possible once the pluginRepositories block has become a normal DSL method on Settings (as part of #1343). Then users can use the settingsEvaluated() method to add plugin repositories from an init script inside a custom Gradle distribution. But this is a local init script (part of the distro), not a remote one.

from gradle.

jjohannes avatar jjohannes commented on May 13, 2024

There is no work planned in this area.

from gradle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.