Skip to content

Commit

Permalink
Merge pull request #141 from RootServices/1.4
Browse files Browse the repository at this point in the history
1.4: release 1.4
  • Loading branch information
tmackenzie authored Aug 18, 2019
2 parents 2b2d7e7 + b01c450 commit 6bcfeb3
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ example application. Only 5 files to get started.
<dependency>
<groupId>org.rootservices</groupId>
<artifactId>otter</artifactId>
<version>1.3</version>
<version>1.4</version>
</dependency>
</dependencies>
```
Expand Down
6 changes: 6 additions & 0 deletions docs/Contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@
```bash
$ ./gradlew clean publish
```

Goto [Maven Central staging repositories](https://oss.sonatype.org/#stagingRepositories)
Search for `Otter` or `rootservices`.
Select the repository just uploaded.
Click `close` it will then prompt to make sure you want to do it.
Click `release` when its done.
17 changes: 16 additions & 1 deletion otter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'maven-publish'
apply plugin: 'signing'

group = "org.rootservices"
version = "1.4-SNAPSHOT"
version = "1.4"
archivesBaseName="otter"

description = """Otter"""
Expand Down Expand Up @@ -67,9 +67,24 @@ test {
mkdir 'logs/jetty'
}

task sourcesJar(type: Jar) {
from sourceSets.main.allJava
archiveClassifier = 'sources'
}

task javadocJar(type: Jar) {
from javadoc
archiveClassifier = 'javadoc'
}

publishing {
publications {
mavenJava(MavenPublication) {
artifactId = 'otter'
from components.java
artifact sourcesJar
artifact javadocJar

pom {
name = 'otter'
packaging = 'jar'
Expand Down

0 comments on commit 6bcfeb3

Please sign in to comment.