kazurayam / gradle-aws-plugin

Gradle plugin to manage Amazon Web Services
0 stars 0 forks source link

Failed to apply plugin [id 'cpd'] #2

Open kazurayam opened 4 years ago

kazurayam commented 4 years ago

I used Gradle 6.0.1

When I tried to test the project, I got error

:gradle-aws-plugin [develop]$ gradle test

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/kazuakiurayama/github/gradle-aws-plugin/build.gradle' line: 37

* What went wrong:
A problem occurred evaluating root project 'gradle-aws-plugin'.
> Failed to apply plugin [id 'cpd']
   > Could not create task ':cpdCheck'.
      > Could not create task of type 'Cpd'.
         > Could not create an instance of type de.aaschmid.gradle.plugins.cpd.internal.CpdReportsImpl.
            > org.gradle.api.reporting.internal.TaskReportContainer.<init>(Ljava/lang/Class;Lorg/gradle/api/Task;)V
kazurayam commented 4 years ago

cpd plugin ver 1.0 was used.

buildscript {
    dependencies {
        classpath "de.aaschmid:gradle-cpd-plugin:1.0"

But Gradle 6.x requires the version of cdp plugin version 3.1