Coder Social home page Coder Social logo

Comments (4)

digitalbuddha avatar digitalbuddha commented on July 3, 2024 1

I think you are referring to #89 closing this issue as to not duplicate

from affectedmoduledetector.

chris-mitchell avatar chris-mitchell commented on July 3, 2024

Hi there -
Try using the version v0.1.2. It looks like we didn't add this to latest release version in GitHub, so I went ahead and did that. The version published in the Gradle Plugin is only valid for v0.1.0 and probably shouldn't be used going forward.

from affectedmoduledetector.

michaelcarrano avatar michaelcarrano commented on July 3, 2024

Thanks, not sure how I missed that newer version as it is on maven central but that still doesn't solve my issue of using this in the plugins block.

For reference, here is what we have today:

plugins {
    id 'com.diffplug.spotless' version '5.12.5'
    id 'com.github.ben-manes.versions' version '0.33.0'
    id 'com.autonomousapps.dependency-analysis' version "0.78.0"
    id "com.osacky.doctor" version "0.7.3"
//    id "com.dropbox.affectedmoduledetector" version "0.1.2"
}

You can see these plugins exists on Gradle Plugin - https://plugins.gradle.org/plugin/com.diffplug.spotless/5.12.5

I can setup a sample project that reproduces my issue if needed.

from affectedmoduledetector.

michaelcarrano avatar michaelcarrano commented on July 3, 2024

Just to follow up, in order to use AffectedModuleDetector in the plugins block, it will have to be published on Gradle Plugin portal.

Following the setup details in the README works and below is what I have. Without the comment, you would wonder why this plugin couldn't be defined in the plugins block too.

plugins {
    id 'com.diffplug.spotless' version '5.12.5'
    id 'com.github.ben-manes.versions' version '0.33.0'
    id 'com.autonomousapps.dependency-analysis' version "0.78.0"
    id "com.osacky.doctor" version "0.7.3"
}

// Not available on Gradle Plugin portal so cannot be defined in plugins block above.
apply plugin: "com.dropbox.affectedmoduledetector"

Looking forward to using this plugin and reducing time it takes to run tests.

from affectedmoduledetector.

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.