ngbinh / gradle-scalastyle-plugin

Gradle plugin for scalastyle
18 stars 16 forks source link

Updated to gradle 3.0 #24

Closed hanny24 closed 7 years ago

tzachz commented 8 years ago

+1

nathanalderson commented 8 years ago

+1

I maintain a plugin for use internally at my company which applies a number of plugins, including this one. We currently can't migrate to gradle 3.x because this plugin causes an exception when being added to the project:

unit.TestScalaStyleSupport > testAddsScalaStylePlugin FAILED
    org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id 'scalaStyle']
        at unit.TestScalaStyleSupport.testAddsScalaStylePlugin(TestScalaStyleSupport.groovy:21)

        Caused by:
        org.gradle.api.GradleException: Could not generate a proxy class for class org.github.ngbinh.scalastyle.ScalaStyleTask.
            at unit.TestScalaStyleSupport.testAddsScalaStylePlugin(TestScalaStyleSupport.groovy:21)

            Caused by:
            java.lang.NoClassDefFoundError: org/gradle/api/internal/DynamicObject
                at unit.TestScalaStyleSupport.testAddsScalaStylePlugin(TestScalaStyleSupport.groovy:21)

                Caused by:
                java.lang.ClassNotFoundException: org.gradle.api.internal.DynamicObject
                    at unit.TestScalaStyleSupport.testAddsScalaStylePlugin(TestScalaStyleSupport.groovy:21)
ngbinh commented 7 years ago

thanks, sorry for the delay. Will publish shortly

ngbinh commented 7 years ago

published.

hanny24 commented 7 years ago

great :+1: