Gradle shouldn't generate dist zips, zipping jar files is slow and also just ridiculous when you realize jar files are zip files and you can't compress a file twice using the same algo.

This commit is contained in:
Viktor Lofgren 2023-03-11 11:34:51 +01:00
parent 1aee6fdc11
commit 919b80b9ab
11 changed files with 22 additions and 1 deletions

View File

@ -16,6 +16,8 @@ application {
applicationName = 'converter-process'
}
tasks.distZip.enabled = false
dependencies {
implementation project(':third-party')
implementation project(':code:common:model')

View File

@ -16,6 +16,8 @@ application {
applicationName = 'crawl-job-extractor-process'
}
tasks.distZip.enabled = false
dependencies {
implementation project(':code:common:model')
implementation project(':code:common:service')

View File

@ -16,6 +16,8 @@ application {
applicationName = 'crawler-process'
}
tasks.distZip.enabled = false
dependencies {
implementation project(':third-party')
implementation project(':code:common:model')

View File

@ -15,6 +15,8 @@ application {
applicationName = 'loader-process'
}
tasks.distZip.enabled = false
dependencies {
implementation project(':third-party')
implementation project(':code:api:index-api')

View File

@ -11,6 +11,8 @@ application {
applicationName = 'assistant-service'
}
tasks.distZip.enabled = false
apply from: "$rootProject.projectDir/docker-service.gradle"
java {

View File

@ -11,6 +11,8 @@ application {
applicationName = 'index-service'
}
tasks.distZip.enabled = false
apply from: "$rootProject.projectDir/docker-service.gradle"
java {

View File

@ -11,6 +11,8 @@ application {
applicationName = 'search-service'
}
tasks.distZip.enabled = false
apply from: "$rootProject.projectDir/docker-service.gradle"
java {

View File

@ -12,12 +12,13 @@ java {
}
}
application {
mainClass = 'nu.marginalia.api.ApiMain'
applicationName = 'api-service'
}
tasks.distZip.enabled = false
apply from: "$rootProject.projectDir/docker-service.gradle"
dependencies {

View File

@ -11,6 +11,8 @@ application {
applicationName = 'dating-service'
}
tasks.distZip.enabled = false
apply from: "$rootProject.projectDir/docker-service.gradle"
java {

View File

@ -11,6 +11,8 @@ application {
applicationName = 'explorer-service'
}
tasks.distZip.enabled = false
apply from: "$rootProject.projectDir/docker-service.gradle"
java {

View File

@ -16,6 +16,8 @@ application {
applicationName = 'screenshot-capture-tool'
}
tasks.distZip.enabled = false
dependencies {
implementation project(':third-party')
implementation project(':code:common:model')