Skip to content
Permalink
Browse files

Add build instructions for maven snapshot build

  • Loading branch information...
terzerm committed Apr 2, 2017
1 parent f8c2747 commit c93292837baf6409618b2c0f9eeea8bdaec559e1
Showing with 6 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +5 −4 build.gradle
@@ -5,3 +5,4 @@
.idea
bin
build
gradle.properties
@@ -3,7 +3,7 @@ apply plugin: 'license'

sourceCompatibility = 1.8
group = "org.tools4j"
version = '1.0.0'
version = '1.0.0-SNAPSHOT'
archivesBaseName = "tools4j-spockito"

jar {
@@ -24,11 +24,12 @@ buildscript {

dependencies {
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0'
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.5.3"
}
}

dependencies {
compile 'junit:junit:4+'
compile 'junit:junit:4.12'
}

uploadArchives {
@@ -72,7 +73,7 @@ artifacts {
}

//snapshot first, then release:
//gradle clean uploadArchives -Pupload -DossrhUsername=xxx -DossrhPassword=xxx
//gradle clean uploadArchives -Pupload -PossrhUsername=xxx -PossrhPassword=xxx
if (project.hasProperty('upload')) {

allprojects {
@@ -134,4 +135,4 @@ if (project.hasProperty('upload')) {
password = ossrhPassword
}
}
}
}

0 comments on commit c932928

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.