Skip to content

Commit

Permalink
Knotx/knotx-dependencies#28 Add knotx-dependencies to composite build.
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz.hinc authored and tomaszmichalak committed Feb 4, 2020
1 parent e93f8eb commit 17fa1bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 0 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ steps:
./pull-all.sh -r ../../$(workspaceDir) -b $(System.PullRequest.SourceBranch) -a
fi
displayName: "Clone all repositories"
- task: Maven@3
inputs:
mavenPomFile: '$(workspaceDir)/knotx-dependencies/pom.xml'
goals: 'install'
displayName: "Build Dependencies"
- task: Gradle@2
inputs:
gradleWrapperFile: '$(workspaceDir)/knotx-stack/gradlew'
Expand Down
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ tasks {
shouldRunAfter("test")
}

getByName("build") {
dependsOn(gradle.includedBuild("knotx-dependencies").task(":publishToMavenLocal"))
}

named("check") { dependsOn("functionalTest") }
}

Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
rootProject.name = "knotx-stack"

if (file(".composite-enabled").exists()) {
// includeBuild("../knotx-gradle-plugins")
includeBuild("../knotx-dependencies")
includeBuild("../knotx-commons")
includeBuild("../knotx-launcher")
includeBuild("../knotx-junit5")
Expand Down

0 comments on commit 17fa1bd

Please sign in to comment.