Skip to content

Commit

Permalink
feat: Add support for override.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Berstanio committed Oct 7, 2024
1 parent 630e9f7 commit ee5b754
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@ task publish {
apply plugin: 'eclipse'
eclipse.project.name = "root"

apply from: rootProject.file('publish.gradle')
apply from: rootProject.file('publish.gradle')

if (rootProject.file('override.gradle').exists())
apply from: rootProject.file('override.gradle')
3 changes: 3 additions & 0 deletions compiling/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ eclipse.project.name = "root"

apply from: file('../publish.gradle')

if (file('../override.gradle').exists())
apply from: file('../override.gradle')

task publishToMavenLocal {
subprojects.each { subproject ->
dependsOn subproject.tasks.named("publishToMavenLocal")
Expand Down

0 comments on commit ee5b754

Please sign in to comment.