Skip to content

Commit

Permalink
Make "sub_projects/expression" an actual gralde sub-project.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexIIL committed Mar 11, 2018
1 parent 3a6acbf commit e85c825
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
11 changes: 1 addition & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,7 @@ if (gradle.startParameter.taskNames.contains("checkstyle")) {
tasks["checkstyleTest"].enabled = false
}

task setupSubProjectExpression(type: Exec) {
workingDir "sub_projects/expression"
// Obviously a problem with this is that we need to create
// a new gradle instance for every subproject :/
// How bad is it to do both tasks at once?
// just no point really...
commandLine './gradlew', 'generateSources'
}

task setupSubProjects(dependsOn: setupSubProjectExpression) {
task setupSubProjects(dependsOn: ":sub_projects:generateSources") {
// Just an inter-dependency task
}

Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include 'sub_projects:expression'

0 comments on commit e85c825

Please sign in to comment.