Skip to content

Commit 26ec4ff

Browse files
committedApr 20, 2021
Removed JsAssert from the API
1 parent fdcfa1d commit 26ec4ff

File tree

7 files changed

+81
-97
lines changed

7 files changed

+81
-97
lines changed
 

‎README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,17 @@ If you want to see *JVBExt* at work please:
1010

1111
## Installing the library
1212

13-
The library is avaiable in `jcenter()`.
13+
For versions (`>=0.0.12`):
1414

15-
If you are using gradle:
15+
```xml
16+
<dependency>
17+
<groupId>net.andreinc</groupId>
18+
<artifactId>jbve</artifactId>
19+
<version>0.0.12</version>
20+
</dependency>
21+
```
22+
23+
For versions (`<0.0.12`):
1624

1725
```groovy
1826
repositories {

‎bintray.gradle

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

‎build.gradle

Lines changed: 66 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
1-
buildscript() {
2-
repositories {
3-
jcenter()
4-
}
5-
dependencies {
6-
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
7-
}
8-
}
9-
101
plugins {
11-
id "com.jfrog.bintray" version "1.7.3"
2+
id "com.github.johnrengelman.shadow" version "6.1.0"
123
}
134

145
apply plugin: 'java'
15-
apply plugin: 'idea'
6+
apply plugin: 'maven'
7+
apply plugin: 'signing'
168

179
group 'net.andreinc'
18-
version '0.0.11'
10+
version '0.0.12'
11+
archivesBaseName = "jbve"
1912

2013
repositories {
2114
mavenCentral()
22-
jcenter()
2315
}
2416

2517
tasks.withType(JavaCompile) {
@@ -50,5 +42,64 @@ dependencies {
5042
testCompile group: 'org.slf4j', name: 'slf4j-simple', version: '1.8.0-alpha2'
5143
}
5244

53-
apply from: 'install.gradle'
54-
apply from: 'bintray.gradle'
45+
task javadocJar(type: Jar) {
46+
classifier = 'javadoc'
47+
from javadoc
48+
}
49+
50+
task sourcesJar(type: Jar) {
51+
classifier = 'sources'
52+
from sourceSets.main.allSource
53+
}
54+
55+
artifacts {
56+
archives javadocJar, sourcesJar
57+
}
58+
59+
signing {
60+
sign configurations.archives
61+
}
62+
63+
uploadArchives {
64+
repositories {
65+
mavenDeployer {
66+
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
67+
68+
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
69+
authentication(userName: ossrhUsername, password: ossrhPassword)
70+
}
71+
72+
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
73+
authentication(userName: ossrhUsername, password: ossrhPassword)
74+
}
75+
76+
pom.project {
77+
name 'Java Bean Validation Extension(s)'
78+
packaging 'jar'
79+
description "Java Bean Validation Extension(s)"
80+
url 'https://github.com/nomemory/java-bean-validation-extension'
81+
82+
scm {
83+
connection 'https://github.com/nomemory/java-bean-validation-extension'
84+
developerConnection 'https://github.com/nomemory/java-bean-validation-extension'
85+
url 'https://github.com/nomemory/java-bean-validation-extension'
86+
}
87+
88+
licenses {
89+
license {
90+
name 'The Apache License, Version 2.0'
91+
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
92+
}
93+
}
94+
95+
developers {
96+
developer {
97+
id 'nomemory'
98+
name 'nomemory'
99+
email 'gnomemory@yahoo.com'
100+
}
101+
}
102+
}
103+
}
104+
}
105+
}

‎gradle/wrapper/gradle-wrapper.jar

57.8 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

‎install.gradle

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

‎local.properties

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

0 commit comments

Comments
 (0)