<snip> > >> >> We'd need to introduce 'groovy-lang' and 'scala-lang' too, I guess. >> >> >> This does not publish anything: >> >> apply plugin: 'java' >> >> This would publish the Java library as a jar + meta-data: >> >> apply plugin: 'java' >> apply plugin: 'java-library' >> >> Would this be more like 'jvm-library'? What if you were compiling groovy or >> scala? Are they different library plugins for different languages? Or is >> 'java' the language and 'jvm-library' the component type'? > > It should be 'jvm-library'.
A Scala library might behave differently in regard to publishing than a java-library, as for example Scala is not binary-backwards compatible and you need to publish multiple libraries (1 for each compiler version). This would also affect the consuming side. So I'm wondering whether we don't need scala-library, java-library, ... Hans
