I have general question how do I find the api for task or plugins ?
I had old build.gradle that fails with latest gradle version.
- What went wrong: A problem occurred evaluating root project ‘jio-services-gradle’. > Failed to apply plugin [id ‘android-reporting’]
A problem occurred configuring project ‘:JioMdkInternalInterface’.
Could not find property ‘packageLibrary’ on com.android.build.gradle.internal.api.LibraryVariantImpl_Decorated@5d2da8ee.
gradle -v
------------------------------------------------------------ Gradle 2.3 ------------------------------------------------------------
Build time:
2015-02-16 05:09:33 UTC Build number: none Revision:
586be72bf6e3df1ee7676d1f2a3afd9157341274
Groovy:
2.3.9 Ant:
Apache Ant™ version 1.9.3 compiled on December 23 2013 JVM:
1.8.0_25 (Oracle Corporation 25.25-b02) OS:
Windows 7 6.1 amd64
If I new how to just load some class in groovysh then I could have found the attributes/properties/method of a task/class. Please share this process of how can one easily understand details about Task or any artifact used in gradle scripts.