Skip to content

Commit

Permalink
Fix Gradle task dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
p3k committed May 18, 2024
1 parent d0e11b5 commit bd2c103
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 4 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ application {

distTar {
dependsOn ':generateLicenseReport', ':javadoc', ':jsdoc'

compression = Compression.GZIP

filesMatching(textFiles) {
Expand Down
7 changes: 7 additions & 0 deletions modules/helma/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ dependencies {
runtimeOnly 'org.apache.lucene:lucene-core:2.2.0'
}

jar.enabled = false
compileJava.enabled = false
compileTestJava.enabled = false
processResources.enabled = false
processTestResources.enabled = false
test.enabled = false

task deps(type: Copy) {
from sourceSets.main.runtimeClasspath
into '.'
Expand Down
7 changes: 7 additions & 0 deletions modules/jala/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ dependencies {
//runtime 'javadns:org.wonderly:?'
}

jar.enabled = false
compileJava.enabled = false
compileTestJava.enabled = false
processResources.enabled = false
processTestResources.enabled = false
test.enabled = false

task deps(type: Copy) {
from sourceSets.main.runtimeClasspath
into 'lib'
Expand Down
7 changes: 7 additions & 0 deletions modules/jala/util/HopKit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ dependencies {
runtimeOnly 'bsf:bsf:2.4.0'
}

jar.enabled = false
compileJava.enabled = false
compileTestJava.enabled = false
processResources.enabled = false
processTestResources.enabled = false
test.enabled = false

task deps(type: Copy) {
from sourceSets.main.runtimeClasspath
into 'lib'
Expand Down
7 changes: 7 additions & 0 deletions modules/jala/util/Test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ dependencies {
runtimeOnly 'org.subethamail:subethasmtp-wiser:1.2'
}

jar.enabled = false
compileJava.enabled = false
compileTestJava.enabled = false
processResources.enabled = false
processTestResources.enabled = false
test.enabled = false

task deps(type: Copy) {
from sourceSets.main.runtimeClasspath
into 'code'
Expand Down
13 changes: 9 additions & 4 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ org.apache.tools.ant.DirectoryScanner.removeDefaultExclude('**/.git/**')
org.apache.tools.ant.DirectoryScanner.removeDefaultExclude('**/.gitignore')

include 'launcher'
include 'modules:helma'
include 'modules:jala'
include 'modules:jala:util:HopKit'
include 'modules:jala:util:Test'
include 'modules'
include 'jala'
include 'hopKit'
include 'test'

project(':modules').projectDir = file('modules/helma')
project(':jala').projectDir = file('modules/jala')
project(':hopKit').projectDir = file('modules/jala/util/HopKit')
project(':test').projectDir = file('modules/jala/util/Test')

0 comments on commit bd2c103

Please sign in to comment.