Skip to content

Commit a532b32

Browse files
committed
apply oss-library-gradle-plugin
1 parent 34f68d3 commit a532b32

3 files changed

Lines changed: 36 additions & 15 deletions

File tree

.idea/compiler.xml

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

build.gradle

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,45 @@
1-
group 'com.auth0'
2-
version '2.0-SNAPSHOT'
3-
1+
apply plugin: 'com.auth0.gradle.oss-library.java'
42
apply plugin: 'jacoco'
5-
apply plugin: 'java'
3+
4+
logger.lifecycle("Using version ${version} for ${name}")
5+
6+
oss {
7+
name 'Auth0-Java'
8+
repository 'Auth0-Java'
9+
organization 'auth0'
10+
description 'Java client library for the Auth0 platform.'
11+
12+
developers {
13+
auth0 {
14+
displayName = 'Auth0'
15+
email = 'oss@auth0.com'
16+
}
17+
lbalmaceda {
18+
displayName = 'Luciano Balmaceda'
19+
email = 'luciano.balmaceda@auth0.com'
20+
}
21+
}
22+
}
623

724
compileJava {
825
sourceCompatibility '1.7'
926
targetCompatibility '1.7'
1027
}
1128

12-
repositories {
13-
mavenCentral()
29+
buildscript {
30+
repositories {
31+
maven {
32+
url "https://plugins.gradle.org/m2/"
33+
}
34+
}
35+
dependencies {
36+
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
37+
classpath "gradle.plugin.com.auth0.gradle:oss-library:0.6.0"
38+
}
1439
}
1540

16-
jacocoTestReport {
17-
reports {
18-
xml.enabled = true
19-
html.enabled = true
20-
}
41+
repositories {
42+
mavenCentral()
2143
}
2244

2345
test {

settings.gradle

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

0 commit comments

Comments
 (0)