Projects
Eulaceura:Factory
spock
_service:obs_scm:0001-Build-with-Gradle-local-m...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0001-Build-with-Gradle-local-mode.patch of Package spock
From b4ec7ce467af83887d134c5450bcf5421c5ef49a Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski <mizdebsk@redhat.com> Date: Wed, 19 Nov 2014 07:57:00 +0100 Subject: [PATCH] Build with Gradle local mode --- build.gradle | 8 ++------ gradle/publishMaven.gradle | 2 -- spock-core/core.gradle | 2 -- spock-guice/guice.gradle | 2 -- spock-specs/specs.gradle | 4 +--- 5 files changed, 3 insertions(+), 15 deletions(-) diff --git a/build.gradle b/build.gradle index 4b2340f..0a8c001 100755 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ ext { h2database: "com.h2database:h2:1.3.164", jmock: "org.jmock:jmock:2.5.1", jmock_junit4: "org.jmock:jmock-junit4:2.5.1", - junit: ["junit:junit-dep:4.10@jar", "org.hamcrest:hamcrest-core:1.3"], + junit: "junit:junit:4.11", log4j: "log4j:log4j:1.2.16", mockito: "org.mockito:mockito-all:1.9.0", objenesis: "org.objenesis:objenesis:1.2" @@ -37,12 +37,8 @@ subprojects { maven { url "http://snapshots.repository.codehaus.org" } } - configurations { - all*.exclude module: "junit" // we use junit-dep instead - } - dependencies { - groovy libs.groovy + compile libs.groovy } signing { diff --git a/gradle/publishMaven.gradle b/gradle/publishMaven.gradle index b4ad996..1c456c2 100644 --- a/gradle/publishMaven.gradle +++ b/gradle/publishMaven.gradle @@ -95,5 +95,3 @@ modifyPom { pom -> // no need to publish test dependencies pom.dependencies.removeAll { it.scope == "test" } } - -deployers*.beforeDeployment { signing.signPom(it) } \ No newline at end of file diff --git a/spock-core/core.gradle b/spock-core/core.gradle index 4542022..088d114 100755 --- a/spock-core/core.gradle +++ b/spock-core/core.gradle @@ -1,7 +1,5 @@ apply from: script("publishMaven") -displayName = "Spock Framework - Core Module" - description = "Spock is a testing and specification framework for Java and Groovy applications. \ What makes it stand out from the crowd is its beautiful and highly expressive specification language. \ Thanks to its JUnit runner, Spock is compatible with most IDEs, build tools, and continuous integration servers. \ diff --git a/spock-guice/guice.gradle b/spock-guice/guice.gradle index 0ef6111..d79e22c 100644 --- a/spock-guice/guice.gradle +++ b/spock-guice/guice.gradle @@ -1,7 +1,5 @@ apply from: script("publishMaven") -displayName = "Spock Framework - Guice Module" - description = "Spock's Guice Module provides support for testing Guice 2/3 based applications." dependencies { diff --git a/spock-specs/specs.gradle b/spock-specs/specs.gradle index 4867f7e..6164d04 100755 --- a/spock-specs/specs.gradle +++ b/spock-specs/specs.gradle @@ -1,9 +1,7 @@ -displayName = "Spock Framework - Specs for Core Module" - description = "Spock specifications for the Core Module. Yes, we eat our own dog food." dependencies { - groovy libs.junit // necessary to make @NotYetImplemented transform work (transform that ships with Groovy and statically references third-party class junit.framwork.AssertionFailedError) + compile libs.junit // necessary to make @NotYetImplemented transform work (transform that ships with Groovy and statically references third-party class junit.framwork.AssertionFailedError) testCompile project(":spock-core") testRuntime libs.asm -- 2.1.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2