Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
esaulpaugh committed Jan 6, 2020
1 parent 4a2e5d4 commit 79a332c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ Or build locally:
Clone the project and install to your local maven repository using `gradle publishToMavenLocal` or `mvn install`. Then you can use one of these:

```groovy
implementation 'com.esaulpaugh:headlong:2.0.0-SNAPSHOT'
implementation 'com.esaulpaugh:headlong:2.0.1-SNAPSHOT'
```

```xml
<dependency>
<groupId>com.esaulpaugh</groupId>
<artifactId>headlong</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.1-SNAPSHOT</version>
</dependency>
```
Alternatively:
Expand Down
15 changes: 10 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,22 @@ plugins {
}

group 'com.esaulpaugh'
version '2.0.0-SNAPSHOT'
archivesBaseName = "headlong"
version '2.0.1-SNAPSHOT'

test {
maxParallelForks = (int) Runtime.runtime.availableProcessors() ?: 1
}

task javadocJar(type: Jar, dependsOn: javadoc) {
// classifier = 'javadoc' // deprecated
archiveClassifier.set('javadoc')
classifier = 'javadoc' // deprecated
// archiveClassifier.set('javadoc')
from javadoc.destinationDir
}

task sourcesJar(type: Jar, dependsOn: classes) {
// classifier = 'sources' // deprecated
archiveClassifier.set('sources')
classifier = 'sources' // deprecated
// archiveClassifier.set('sources')
from sourceSets.main.allSource
finalizedBy(javadocJar)
}
Expand All @@ -40,6 +41,10 @@ sourceSets {
}
}

artifacts {
archives javadocJar, sourcesJar
}

publishing {
publications {
headlong(MavenPublication) {
Expand Down
4 changes: 2 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,11 @@
<import file="${basedir}/.idea/modules/module_headlong.test.xml"/>

<target name = "build-jar">
<jar destfile = "${basedir}/build/lib/headlong-2.0.0-SNAPSHOT.jar"
<jar destfile = "${basedir}/build/lib/headlong-2.0.1-SNAPSHOT.jar"
basedir = "${basedir}/build/classes/java/main">
<manifest>
<attribute name = "Implementation-Title" value = "headlong"/>
<attribute name = "Implementation-Version" value = "2.0.0-SNAPSHOT"/>
<attribute name = "Implementation-Version" value = "2.0.1-SNAPSHOT"/>
</manifest>
</jar>
</target>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.esaulpaugh</groupId>
<artifactId>headlong</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.1-SNAPSHOT</version>
<packaging>jar</packaging>

<url>http://maven.apache.org</url>
Expand Down

0 comments on commit 79a332c

Please sign in to comment.