Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin [id: 'dev.testify', version: '2.0.0-beta01'] was not found in any of the following sources. #137

Open
1 of 5 tasks
DanielJette opened this issue May 24, 2023 · 3 comments · May be fixed by #208
Open
1 of 5 tasks
Labels
Bug Any behaviour the deviates from the documentation, expected outcome or API contract. Gradle Plugin Relates to the Testify Gradle Plugin

Comments

@DanielJette
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.

This issue relates to:

  • The Kotlin library
  • The Gradle plugin
  • The IntelliJ Platform plugin
  • The sample code
  • The documentation

To Reproduce

In your build.gradle

plugins {
    id("dev.testify") version "2.0.0-beta01"
}

Expected behavior

The plugin is applied

Actual behavior

Error:
Plugin [id: 'dev.testify', version: '2.0.0-beta01'] was not found in any of the following sources.

@DanielJette DanielJette added Bug Any behaviour the deviates from the documentation, expected outcome or API contract. Gradle Plugin Relates to the Testify Gradle Plugin labels May 24, 2023
@DanielJette
Copy link
Contributor Author

@jaredh we ran into this at work today. Do remember what we need to change to support this?

@mtrewartha
Copy link

@DanielJette Did you ever find out what this was caused by or how to work around it?

@DanielJette
Copy link
Contributor Author

@mtrewartha We're still working to publish a permanent fix to this.

In the meantime, the work around is to use the old-school classpath entry in your build.gradle
Even if you use the modern plugin configuration for your other plugins, you can still add this to your root build.gradle:

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath "dev.testify:plugin:2.0.0-beta01"
    }
}

And use apply plugin: 'dev.testify' in your app module build.gradle like this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Any behaviour the deviates from the documentation, expected outcome or API contract. Gradle Plugin Relates to the Testify Gradle Plugin
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants