Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdanfox committed Jan 23, 2020
1 parent 0f76d80 commit d7392c3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import com.google.common.base.Preconditions;
import com.google.common.base.Splitter;
import com.palantir.configurationresolver.ConfigurationResolverPlugin;
import com.palantir.gradle.junit.JunitReportsExtension;
import com.palantir.gradle.junit.JunitReportsPlugin;
import java.io.File;
Expand All @@ -42,9 +41,6 @@ public final class BaselineCircleCi implements Plugin<Project> {
public void apply(Project project) {
project.getPluginManager().apply(JunitReportsPlugin.class);

// the `./gradlew resolveConfigurations` task is used on CI to download all jars for convenient caching
project.getRootProject().allprojects(p -> p.getPluginManager().apply(ConfigurationResolverPlugin.class));

configurePluginsForReports(project);
configurePluginsForArtifacts(project);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,6 @@ class BaselineCircleCiIntegrationTest extends AbstractPluginTest {
new File(System.getenv('CIRCLE_ARTIFACTS')).toPath().deleteDir()
}

def 'applies the configuration resolver plugin'() {
when:
buildFile << standardBuildFile

then:
BuildResult result = with('resolveConfigurations').build()
result.task(':resolveConfigurations').outcome == TaskOutcome.SUCCESS
}

def 'collects html reports'() {
when:
buildFile << standardBuildFile
Expand Down

0 comments on commit d7392c3

Please sign in to comment.