Skip to content

Commit

Permalink
[addendum] Upgrade Gradle and Gradle plugins (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
brfrn169 committed Sep 18, 2024
1 parent e7b45ce commit 1157734
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ protobuf {
generatedFilesBaseDir = "$projectDir/src"
}

// The processResources task needs to depend on the generateProto task because it uses the output
// of the the generateProto task
processResources {
dependsOn generateProto
}

task AdminCommand(type: CreateStartScripts) {
mainClassName = 'com.scalar.admin.AdminCommand'
applicationName = 'scalar-admin'
Expand Down Expand Up @@ -88,6 +94,14 @@ distTar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}

installDist {
duplicatesStrategy DuplicatesStrategy.EXCLUDE
}

sourcesJar {
duplicatesStrategy DuplicatesStrategy.EXCLUDE
}

docker {
name "${project.name}"
files tasks.distTar.outputs
Expand Down

0 comments on commit 1157734

Please sign in to comment.