-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a plugin to support gradle? #19
Comments
There is currently no Gradle plugin. |
+1 |
Using this snippet in my build script seems to be working for me: dependencies {
...
compileOnly "com.ea.async:ea-async:1.2.1"
}
task instrument(type: JavaExec) {
main = 'com.ea.async.instrumentation.Main'
classpath = sourceSets.main.compileClasspath
args "$buildDir"
}
compileJava.doLast {
tasks.instrument.execute()
} |
Thank you very much. But task.execute() can not be used after gradle 5.0. And I change it to compileJava.dependsOn(tasks.instrument), but it does not work. Do you know how to fix it? |
I haven't tested that kind of setup, but I think the |
I have tried both. But neither of them can work. |
dependencies { task instrument(type: JavaExec) { compileJava.finalizedBy(instrument) |
:)
The text was updated successfully, but these errors were encountered: