Skip to content

Commit

Permalink
Merge pull request #15 from uPhyca/plugin_version_1_1_0
Browse files Browse the repository at this point in the history
Fix bootclasspath issue
  • Loading branch information
esmasui committed Mar 11, 2015
2 parents 05c3942 + 9cc3bcb commit 1a62799
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
mavenLocal()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
classpath 'com.android.tools.build:gradle:1.1.0'
classpath 'com.uphyca.galette:galette-plugin:0.9.10-SNAPSHOT'
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ class GAlettePlugin implements Plugin<Project> {
javaCompile.doLast {
def classpath = project.files()

if (plugin.properties['runtimeJarList']) {
if (project.android.properties['bootClasspath']) {
// 0.10
project.android.bootClasspath.each { classpath += project.files(it) }
} else if (plugin.properties['runtimeJarList']) {
// 0.9
plugin.runtimeJarList.each { classpath += project.files(it) }
} else if (project.android.properties['bootClasspath']) {
// 0.10
plugin.bootClasspath.each { classpath += project.files(it) }
}
classpath += javaCompile.classpath
classpath += project.configurations["galette"]
Expand Down
2 changes: 1 addition & 1 deletion tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
mavenLocal()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
classpath 'com.android.tools.build:gradle:1.1.0'
classpath 'com.uphyca.galette:galette-plugin:0.9.10-SNAPSHOT'
}
}
Expand Down

0 comments on commit 1a62799

Please sign in to comment.