Fixing the build (#63)
we are installing artifacts twice. With Maven and Gradle then. We need to change that. fixes #62
This commit is contained in:
committed by
GitHub
parent
317a25b589
commit
012eac8f3c
@@ -49,6 +49,7 @@ dependencies {
|
||||
}
|
||||
|
||||
test {
|
||||
systemProperty 'spring.profiles.active', 'gradle'
|
||||
testLogging {
|
||||
exceptionFormat = 'full'
|
||||
}
|
||||
@@ -87,7 +88,7 @@ task copyClasses(type: Copy) {
|
||||
|
||||
clean.doFirst {
|
||||
delete 'target/snippets/stubs'
|
||||
delete "~/.m2/repository/com/example/"
|
||||
delete "~/.m2/repository/com/example/http-server-restdocs-gradle"
|
||||
}
|
||||
|
||||
task resolveDependencies {
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
org.gradle.daemon=false
|
||||
verifierVersion=1.0.0.BUILD-SNAPSHOT
|
||||
BOM_VERSION=Brixton.SR4
|
||||
Binary file not shown.
@@ -1,6 +1,6 @@
|
||||
#Thu Jul 21 10:16:50 CEST 2016
|
||||
#Fri Aug 19 15:39:42 CEST 2016
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.0-bin.zip
|
||||
|
||||
@@ -80,6 +80,21 @@
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
<version>3.0.0</version>
|
||||
<configuration>
|
||||
<filesets>
|
||||
<fileset>
|
||||
<directory>build</directory>
|
||||
</fileset>
|
||||
<fileset>
|
||||
<directory>target</directory>
|
||||
</fileset>
|
||||
</filesets>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
|
||||
@@ -1 +1 @@
|
||||
rootProject.name = 'http-server-restdocs'
|
||||
rootProject.name = 'http-server-restdocs-gradle'
|
||||
|
||||
Reference in New Issue
Block a user