You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For those of you having trouble instrumenting ahead of time, these are the pieces of gradle build script you need to get it to work.
First, in your only build.gradle or subprojects closure (i.e., inside the curly braces of subprojects in your top-level build.gradle), add the appropriate dependency:
Observe that the main differences with the documentation are additional instrumenting commands that are almost always what you want, the correct use of classesDirs.asPath, and that the test spec includes two filesets.
That's it! That's how you install Quasar, and get AoT compilation.
Older versions of Gradle: sourceSets.main.output.classesDirs.asPath may change. I don't have the time to try, but if anyone tries this on Gradle 2/3/4, that is what's likely going to need to change. Just make sure it's a path. It may be called output.classesDir instead.
The text was updated successfully, but these errors were encountered:
Tested on Gradle 5.0 and OpenJDK 11.
For those of you having trouble instrumenting ahead of time, these are the pieces of gradle build script you need to get it to work.
First, in your only
build.gradle
orsubprojects
closure (i.e., inside the curly braces ofsubprojects
in your top-levelbuild.gradle
), add the appropriate dependency:Then, add this to the
build.gradle
orsubprojects
closure:Observe that the main differences with the documentation are additional instrumenting commands that are almost always what you want, the correct use of
classesDirs.asPath
, and that the test spec includes two filesets.That's it! That's how you install Quasar, and get AoT compilation.
Older versions of Gradle:
sourceSets.main.output.classesDirs.asPath
may change. I don't have the time to try, but if anyone tries this on Gradle 2/3/4, that is what's likely going to need to change. Just make sure it's a path. It may be calledoutput.classesDir
instead.The text was updated successfully, but these errors were encountered: