Hi, I'm working on the Ceylon/Gradle/Android support, to be able to write Ceylon applications for Android. I've managed to hook into the Gradle Android tasks so that I can build APK packages, but I have pretty much failed to make it past the linting phase. Ceylon is a language with built-in modularity and so it deals with its dependencies by itself, without help from Gradle. The Gradle tasks that I wrote for Android deal with this and how to make sure these jars get included in the DEX files. When the linter is called, though, I haven't found how to make it find those jars. It appears to not check the DEX files since those classes are there, and it will complain that it can't find my activity classes. I've tried several ways to modify the list of jars it uses when it calls the linter, but have had no luck so far.
This is really a question to the authors of the lint task: how can I add jars to it so that it will find my activities? It appears that the lint task gets its set of jars from the Android model, which in turn seem to get them from the Android Extension's ExtraModelInfo which you can add stuff to using BaseExtension.registerJavaArtifact, except it talks about "classesFolder" so I'm not sure this applies to jars. Perhaps I need to use this but unpack the jars first for it? Anyone knows how the lint task works internally? Thanks, cheers. -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.