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
{{ message }}
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.
After migrating from stable gradle to experiemental-gradle-0.8.2 (for NDK reasons) I am unable to create the needed tasks for sourcesJar, javadocJar etc. The gradle-experimental plugin introduces a new syntax with model blocks surrounding android blocks, and I am unable to get tasks referencing e.g. the sourceSets properties to work:
task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
}
Could you help me understand how to create this task, and also how to reference e.g. android.defaultConfig.versionName with the new syntax? My gradle skills are failing me miserably.
Hi,
After migrating from stable gradle to experiemental-gradle-0.8.2 (for NDK reasons) I am unable to create the needed tasks for sourcesJar, javadocJar etc. The gradle-experimental plugin introduces a new syntax with model blocks surrounding android blocks, and I am unable to get tasks referencing e.g. the sourceSets properties to work:
Could you help me understand how to create this task, and also how to reference e.g. android.defaultConfig.versionName with the new syntax? My gradle skills are failing me miserably.
See also SO: http://stackoverflow.com/questions/42647390/android-maven-gradle-plugin-gradle-experimental
The text was updated successfully, but these errors were encountered: