Skip to content

Commit

Permalink
remove unneeded gradle tasks that copy dependencies to "build/lib*" f…
Browse files Browse the repository at this point in the history
…olders

nowadays IDEA gradle plugins works stabely, no need for hacks anymore.
  • Loading branch information
asolntsev committed Jul 30, 2024
1 parent e27af81 commit ef94e3c
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,6 @@ java {
}
}

tasks.register('cleanLibs', Delete) {
delete 'build/lib', 'build/lib-test'
}

tasks.register('libsProd', Sync) {
from configurations.compileClasspath
from configurations.runtimeClasspath
into "build/lib"
}

tasks.register('libsTest', Sync) {
from configurations.testRuntimeClasspath - configurations.compileClasspath - configurations.runtimeClasspath
into "build/lib-test"
}

tasks.register('deps') {}
compileJava.dependsOn deps
deps.dependsOn(['cleanLibs', 'libsProd', 'libsTest'])

configurations.configureEach {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
Expand Down Expand Up @@ -90,7 +71,6 @@ test {

tasks.register('uitest', Test) {
include 'ui/**/*'
systemProperties['BUILD_URL'] = System.getenv()['BUILD_URL']
systemProperties['selenide.headless'] = 'true'
}

Expand Down

0 comments on commit ef94e3c

Please sign in to comment.