nekoinemo
06/02/2017, 7:51 AMpublishing {
publications {
mavenJava(MavenPublication) {
from(components.java)
}
}
}
results in "specif constructor, MavenPublication doesn't have companion object" and "mavenJava()" being unresolved reference
It does compile if i replace it with
publishing {
publications {
create<MavenPublication>("mavenJava"){
from(components["java"])
}
}
}
though. I don't get why it works on way and not the other?bamboo
06/02/2017, 12:07 PMbamboo
06/02/2017, 12:07 PM