Skip to content

Commit 4a4b024

Browse files
committed
publish v1.1.3, updated gradle, publish via bintray's jcenter
1 parent 3f2e461 commit 4a4b024

File tree

4 files changed

+54
-47
lines changed

4 files changed

+54
-47
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ Usage
4040
Add the dependency to your project:
4141

4242
### Gradle
43-
`compile 'net.sargue:java-time-jsptags:1.1.2'`
43+
`compile 'net.sargue:java-time-jsptags:1.1.3'`
4444

4545
### Maven
4646

4747
```xml
4848
<dependency>
4949
<groupId>net.sargue</groupId>
5050
<artifactId>java-time-jsptags</artifactId>
51-
<version>1.1.2</version>
51+
<version>1.1.3</version>
5252
</dependency>
5353
```
5454

@@ -265,6 +265,9 @@ Build is based on gradle. See build.gradle included in the repository.
265265
Changelog
266266
---------
267267

268+
### v1.1.3
269+
Fixed issue [#5](https://github.com/sargue/java-time-jsptags/issues/5) about error messages.
270+
268271
### v1.1.2
269272
I have changed the gradle build to use the gradle wrapper and gradle version
270273
2.12 which finally includes a compile-only (like *provided*) configuration.

build.gradle

Lines changed: 47 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1+
plugins {
2+
id "com.jfrog.bintray" version "1.7.3"
3+
}
4+
15
apply plugin: 'java'
26
apply plugin: 'maven'
3-
apply plugin: 'signing'
4-
apply plugin: 'idea'
57

68
group = 'net.sargue'
79
archivesBaseName = 'java-time-jsptags'
8-
version = '1.1.2'
9-
10-
def NEXUS_USERNAME = hasProperty('NEXUS_USERNAME') ? NEXUS_USERNAME : ''
11-
def NEXUS_PASSWORD = hasProperty('NEXUS_PASSWORD') ? NEXUS_PASSWORD : ''
10+
version = '1.1.3'
1211

1312
sourceCompatibility = 1.8
1413
compileJava.options.encoding = 'UTF-8'
1514
compileTestJava.options.encoding = 'UTF-8'
1615

1716
repositories {
18-
mavenCentral()
17+
jcenter()
1918
}
2019

2120
configurations {
@@ -52,49 +51,53 @@ artifacts {
5251
archives javadocJar, sourcesJar
5352
}
5453

55-
signing {
56-
sign configurations.archives
57-
}
58-
59-
uploadArchives {
60-
repositories {
61-
mavenDeployer {
62-
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
63-
64-
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
65-
authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD)
66-
}
67-
68-
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
69-
authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD)
54+
install {
55+
repositories.mavenInstaller {
56+
pom.project {
57+
name 'Java 8 java.time JSP tags'
58+
description 'JSP tag support for Java 8 java.time (JSR-310)'
59+
url 'https://github.com/sargue/java-time-jsptags'
60+
61+
scm {
62+
connection 'scm:git:git@github.com:sargue/java-time-jsptags.git'
63+
developerConnection 'scm:git:git@github.com:sargue/java-time-jsptags.git'
64+
url 'git@github.com:sargue/java-time-jsptags.git'
7065
}
7166

72-
pom.project {
73-
name 'Java 8 java.time JSP tags'
74-
packaging 'jar'
75-
description 'JSP tag support for Java 8 java.time (JSR-310)'
76-
url 'https://github.com/sargue/java-time-jsptags'
77-
78-
scm {
79-
connection 'scm:git:git@github.com:sargue/java-time-jsptags.git'
80-
developerConnection 'scm:git:git@github.com:sargue/java-time-jsptags.git'
81-
url 'git@github.com:sargue/java-time-jsptags.git'
67+
licenses {
68+
license {
69+
name 'The Apache License, Version 2.0'
70+
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
8271
}
72+
}
8373

84-
licenses {
85-
license {
86-
name 'The Apache License, Version 2.0'
87-
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
88-
}
74+
developers {
75+
developer {
76+
id 'sargue'
77+
name 'Sergi Baila'
78+
email 'sargue@gmail.com'
8979
}
80+
}
81+
}
82+
}
83+
}
9084

91-
developers {
92-
developer {
93-
id 'sargue'
94-
name 'Sergi Baila'
95-
email 'sargue@gmail.com'
96-
}
97-
}
85+
bintray {
86+
user = project.hasProperty('BINTRAY_USER') ? BINTRAY_USER : ''
87+
key = project.hasProperty('BINTRAY_KEY') ? BINTRAY_KEY : ''
88+
configurations = ['archives']
89+
pkg {
90+
repo = 'maven'
91+
name = 'net.sargue:java-time-jsptags'
92+
licenses = ['Apache-2.0']
93+
vcsUrl = 'https://github.com/sargue/java-time-jsptags'
94+
version {
95+
name = project.version
96+
desc = 'JSP tag support for Java 8 java.time (JSR-310)'
97+
98+
gpg {
99+
sign = true
100+
passphrase = project.hasProperty('BINTRAY_GPG') ? BINTRAY_GPG : ''
98101
}
99102
}
100103
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rootProject.name = 'java-time-jsptags'

0 commit comments

Comments
 (0)