Skip to content

编译报错 #37

@TealerProg

Description

@TealerProg

9:09:12: Executing 'compileGroovy'...

Starting Gradle Daemon...
Gradle Daemon started in 1 s 665 ms

Configure project :app
project(app) apply auto-register plugin

Task :autoregister:compileJava NO-SOURCE

Task :autoregister:compileGroovy FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings
1 actionable task: 1 executed
startup failed:
D:\workspace\githubspace\AutoRegister\autoregister\src\main\groovy\com\billy\android\register\CodeInsertProcessor.groovy: 3: unable to resolve class org.apache.commons.io.IOUtils
@ line 3, column 1.
import org.apache.commons.io.IOUtils
^

D:\workspace\githubspace\AutoRegister\autoregister\src\main\groovy\com\billy\android\register\RegisterTransform.groovy: 8: unable to resolve class org.apache.commons.io.FileUtils
@ line 8, column 1.
import org.apache.commons.io.FileUtils
^

D:\workspace\githubspace\AutoRegister\autoregister\src\main\groovy\com\billy\android\register\RegisterTransform.groovy: 6: unable to resolve class com.google.gson.reflect.TypeToken
@ line 6, column 1.
import com.google.gson.reflect.TypeToken
^

D:\workspace\githubspace\AutoRegister\autoregister\src\main\groovy\com\billy\android\register\RegisterTransform.groovy: 5: unable to resolve class com.google.gson.Gson
@ line 5, column 1.
import com.google.gson.Gson
^

D:\workspace\githubspace\AutoRegister\autoregister\src\main\groovy\com\billy\android\register\RegisterTransform.groovy: 7: unable to resolve class org.apache.commons.codec.digest.DigestUtils
@ line 7, column 1.
import org.apache.commons.codec.digest.DigestUtils
^

5 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':autoregister:compileGroovy'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 11s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions