mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Update AndroidPlugin to the new syntax.
This commit is contained in:
parent
55bc15359a
commit
d74a68e31f
1 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,6 @@ import com.beust.kobalt.maven.dependency.FileDependency
|
|||
import com.beust.kobalt.maven.dependency.MavenDependency
|
||||
import com.beust.kobalt.misc.*
|
||||
import com.beust.kobalt.plugin.java.JavaCompiler
|
||||
import com.beust.kobalt.misc.JarUtils
|
||||
import com.google.common.collect.HashMultimap
|
||||
import com.google.inject.Inject
|
||||
import com.google.inject.Singleton
|
||||
|
@ -455,7 +454,7 @@ public class AndroidPlugin @Inject constructor(val javaCompiler: JavaCompiler,
|
|||
override fun intercept(mavenId: MavenId) : MavenId =
|
||||
if (isAar(mavenId)) {
|
||||
val version = mavenId.version ?: ""
|
||||
MavenId.createNoInterceptors("${mavenId.groupId}:${mavenId.artifactId}:aar:$version")
|
||||
MavenId.createNoInterceptors("${mavenId.groupId}:${mavenId.artifactId}:$version@aar")
|
||||
} else {
|
||||
mavenId
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue