virtualdogbert / enterprise-groovy-plugin

A gradle plugin for adding @CompileStatic by default with optional configurable enforcement.
Apache License 2.0
8 stars 2 forks source link

Gradle 5 Configuration with name 'compile' not found. when using plugin DSL #2

Closed virtualdogbert closed 5 years ago

virtualdogbert commented 5 years ago

When using

plugins {
   id "enterprise.groovy.plugin" version "1.0.RC2"
}

The following code breaks:

//Adds Enterprise Groovy library to the project
project.dependencies {
     delegate.compile('com.virtualdogbert:enterprise-groovy:1.0.RC2')
}

Only using the old way of applying the gradle plugin works. So I need to find out how to get this to work with the newer version of Gradle.

virtualdogbert commented 5 years ago

This should be fixed in RC4