Skip to content

Commit

Permalink
publish v1.1.3, updated gradle, publish via bintray's jcenter
Browse files Browse the repository at this point in the history
  • Loading branch information
sargue committed Jan 5, 2017
1 parent 3f2e461 commit 4a4b024
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 47 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ Usage
Add the dependency to your project:

### Gradle
`compile 'net.sargue:java-time-jsptags:1.1.2'`
`compile 'net.sargue:java-time-jsptags:1.1.3'`

### Maven

```xml
<dependency>
<groupId>net.sargue</groupId>
<artifactId>java-time-jsptags</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
</dependency>
```

Expand Down Expand Up @@ -265,6 +265,9 @@ Build is based on gradle. See build.gradle included in the repository.
Changelog
---------

### v1.1.3
Fixed issue [#5](https://github.com/sargue/java-time-jsptags/issues/5) about error messages.

### v1.1.2
I have changed the gradle build to use the gradle wrapper and gradle version
2.12 which finally includes a compile-only (like *provided*) configuration.
Expand Down
91 changes: 47 additions & 44 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
plugins {
id "com.jfrog.bintray" version "1.7.3"
}

apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'signing'
apply plugin: 'idea'

group = 'net.sargue'
archivesBaseName = 'java-time-jsptags'
version = '1.1.2'

def NEXUS_USERNAME = hasProperty('NEXUS_USERNAME') ? NEXUS_USERNAME : ''
def NEXUS_PASSWORD = hasProperty('NEXUS_PASSWORD') ? NEXUS_PASSWORD : ''
version = '1.1.3'

sourceCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'

repositories {
mavenCentral()
jcenter()
}

configurations {
Expand Down Expand Up @@ -52,49 +51,53 @@ artifacts {
archives javadocJar, sourcesJar
}

signing {
sign configurations.archives
}

uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }

repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD)
}

snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD)
install {
repositories.mavenInstaller {
pom.project {
name 'Java 8 java.time JSP tags'
description 'JSP tag support for Java 8 java.time (JSR-310)'
url 'https://github.com/sargue/java-time-jsptags'

scm {
connection 'scm:git:git@github.com:sargue/java-time-jsptags.git'
developerConnection 'scm:git:git@github.com:sargue/java-time-jsptags.git'
url 'git@github.com:sargue/java-time-jsptags.git'
}

pom.project {
name 'Java 8 java.time JSP tags'
packaging 'jar'
description 'JSP tag support for Java 8 java.time (JSR-310)'
url 'https://github.com/sargue/java-time-jsptags'

scm {
connection 'scm:git:git@github.com:sargue/java-time-jsptags.git'
developerConnection 'scm:git:git@github.com:sargue/java-time-jsptags.git'
url 'git@github.com:sargue/java-time-jsptags.git'
licenses {
license {
name 'The Apache License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}

licenses {
license {
name 'The Apache License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
developers {
developer {
id 'sargue'
name 'Sergi Baila'
email 'sargue@gmail.com'
}
}
}
}
}

developers {
developer {
id 'sargue'
name 'Sergi Baila'
email 'sargue@gmail.com'
}
}
bintray {
user = project.hasProperty('BINTRAY_USER') ? BINTRAY_USER : ''
key = project.hasProperty('BINTRAY_KEY') ? BINTRAY_KEY : ''
configurations = ['archives']
pkg {
repo = 'maven'
name = 'net.sargue:java-time-jsptags'
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/sargue/java-time-jsptags'
version {
name = project.version
desc = 'JSP tag support for Java 8 java.time (JSR-310)'

gpg {
sign = true
passphrase = project.hasProperty('BINTRAY_GPG') ? BINTRAY_GPG : ''
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name = 'java-time-jsptags'

0 comments on commit 4a4b024

Please sign in to comment.