android-testify icon indicating copy to clipboard operation
android-testify copied to clipboard

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

Open DanielJette opened this issue 2 years ago • 3 comments

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

This issue relates to:

  • [ ] The Kotlin library
  • [x] 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 avatar May 24 '23 14:05 DanielJette

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

DanielJette avatar May 24 '23 14:05 DanielJette

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

mtrewartha avatar Jun 27 '23 17:06 mtrewartha

@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

DanielJette avatar Jun 27 '23 17:06 DanielJette