Skip to content

Commit

Permalink
add bootclasspath to normal classpath for Android builds
Browse files Browse the repository at this point in the history
otherwise AAs won't find Android-specific classes
  • Loading branch information
oehme committed Oct 18, 2014
1 parent 689f170 commit 6db774c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class XtendAndroidPlugin implements Plugin<Project> {
project.plugins.<LibraryPlugin>getPlugin(LibraryPlugin)
}
xtendCompile.bootClasspath = androidPlugin.bootClasspath.join(File.pathSeparator)
xtendCompile.classpath = xtendCompile.classpath + project.files(androidPlugin.bootClasspath)
]
xtendCompile.setDescription('''Compiles the «variant.name» Xtend sources''')
variant.registerJavaGeneratingTask(xtendCompile, xtendCompile.targetDir)
Expand Down

0 comments on commit 6db774c

Please sign in to comment.