Skip to content

Commit

Permalink
Added support for Android library plugin (Issue #305)
Browse files Browse the repository at this point in the history
  • Loading branch information
yomik committed Mar 16, 2015
1 parent 47f1101 commit 0107b93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class GenerateJsonSchemaTask extends DefaultTask {

if (project.plugins.hasPlugin('java')) {
configureJava()
} else if (project.plugins.hasPlugin('com.android.application')) {
} else if (project.plugins.hasPlugin('com.android.application') || project.plugins.hasPlugin('com.android.library')) {
configureAndroid()
} else {
throw new GradleException('generateJsonSchema: Java or Android plugin required')
Expand Down

0 comments on commit 0107b93

Please sign in to comment.