Skip to content

Commit

Permalink
Fixed corrects an error that occurs when the command 'gradlew clean b…
Browse files Browse the repository at this point in the history
…uild' is executed
  • Loading branch information
emmanue1 committed Apr 7, 2019
1 parent 9b89bda commit c408b63
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ jar {
exclude 'META-INF/licenses/**', 'META-INF/maven/**', 'META-INF/INDEX.LIST'
duplicatesStrategy DuplicatesStrategy.EXCLUDE
doFirst {
// Add SPI directory
def tmpSpiDir = file('build/tmp/spi')
tmpSpiDir.deleteDir()
def tmpSpiServicesDir = file(tmpSpiDir.path + '/META-INF/services')
tmpSpiServicesDir.mkdirs()
from tmpSpiDir
// Add SPI directory
def tmpSpiDir = file('build/tmp/spi')
tmpSpiDir.deleteDir()
def tmpSpiServicesDir = file(tmpSpiDir.path + '/META-INF/services')
tmpSpiServicesDir.mkdirs()
from tmpSpiDir

// Copy and merge SPI config files
subprojects.each { subproject ->
Expand Down

0 comments on commit c408b63

Please sign in to comment.