X Tutup
Skip to content

Commit 11dc653

Browse files
authored
Merge pull request auth0#295 from auth0/update-plugin
Use latest OSS plugin
2 parents 6141bd9 + 571f0a2 commit 11dc653

File tree

9 files changed

+77
-416
lines changed

9 files changed

+77
-416
lines changed

build.gradle

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

3-
buildscript {
4-
repositories {
5-
jcenter()
6-
}
7-
dependencies {
8-
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.1'
9-
}
10-
}
11-
123
allprojects {
134
group = 'com.auth0'
145

gradle/wrapper/gradle-wrapper.jar

2.48 KB
Binary file not shown.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Mon Dec 28 10:00:20 PST 2015
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip

gradlew

Lines changed: 42 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 4 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build.gradle

Lines changed: 30 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
apply plugin: 'jacoco'
2-
apply plugin: 'java'
3-
apply from: '../scripts/release.gradle'
4-
apply from: '../scripts/maven.gradle'
5-
apply from: '../scripts/bintray.gradle'
1+
plugins {
2+
id "com.jfrog.bintray" version "1.8.4"
3+
id "com.auth0.gradle.oss-library.java" version "0.8.0"
4+
id "jacoco"
5+
}
66

77
logger.lifecycle("Using version ${version} for ${group}.${name}")
88

9-
auth0 {
9+
oss {
1010
name "java jwt"
11-
repo "java-jwt"
11+
repository "java-jwt"
12+
organization "auth0"
1213
description "Java implementation of JSON Web Token (JWT)"
13-
url 'http://www.jwt.io'
14-
developer {
15-
id = "auth0"
16-
name = "Auth0"
17-
email = "oss@auth0.com"
18-
}
19-
developer {
20-
id = "lbalmaceda"
21-
name = "Luciano Balmaceda"
22-
email = "luciano.balmaceda@auth0.com"
23-
}
24-
developer {
25-
id = "hzalaz"
26-
name = "Hernan Zalazar"
27-
email = "hernan@auth0.com"
14+
15+
developers {
16+
auth0 {
17+
displayName = "Auth0"
18+
email = "oss@auth0.com"
19+
}
20+
lbalmaceda {
21+
displayName = "Luciano Balmaceda"
22+
email = "luciano.balmaceda@auth0.com"
23+
}
24+
hzalaz {
25+
displayName = "Hernan Zalazar"
26+
email = "hernan@auth0.com"
27+
}
2828
}
2929
}
3030

@@ -34,13 +34,13 @@ compileJava {
3434
}
3535

3636
dependencies {
37-
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.7'
38-
compile 'commons-codec:commons-codec:1.11'
39-
testCompile 'org.bouncycastle:bcprov-jdk15on:1.59'
40-
testCompile 'junit:junit:4.12'
41-
testCompile 'net.jodah:concurrentunit:0.4.3'
42-
testCompile 'org.hamcrest:java-hamcrest:2.0.0.0'
43-
testCompile 'org.mockito:mockito-core:2.18.3'
37+
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.7'
38+
implementation 'commons-codec:commons-codec:1.11'
39+
testImplementation 'org.bouncycastle:bcprov-jdk15on:1.59'
40+
testImplementation 'junit:junit:4.12'
41+
testImplementation 'net.jodah:concurrentunit:0.4.3'
42+
testImplementation 'org.hamcrest:java-hamcrest:2.0.0.0'
43+
testImplementation 'org.mockito:mockito-core:2.18.3'
4444
}
4545

4646
jacocoTestReport {
@@ -55,9 +55,4 @@ test {
5555
events "skipped", "failed", "standardError"
5656
exceptionFormat "short"
5757
}
58-
}
59-
60-
task clean(type: Delete) {
61-
delete rootProject.buildDir
62-
delete 'CHANGELOG.md.release'
63-
}
58+
}

scripts/bintray.gradle

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)
X Tutup