File tree 4 files changed +24
-42
lines changed
src/test/java/com/icosillion/podengine/models
4 files changed +24
-42
lines changed Original file line number Diff line number Diff line change 1
1
.gradle /
2
2
.idea /
3
3
target /
4
- build /
4
+ build /
5
+ gradle.properties
Original file line number Diff line number Diff line change 1
- # PodEngine 2.4 – Podcast Feed Library
1
+ # PodEngine 2.4.1 – Podcast Feed Library
2
2
3
3
## Java library for parsing your podcast feeds 🚀
4
4
* Written in Java 7 🤖
8
8
* MIT Licensed (Use it for all your commercial things!) 🤑
9
9
10
10
## Installation 📦
11
- ### Gradle
11
+ ### Gradle (Groovy)
12
12
``` groovy
13
13
repositories {
14
- maven {
15
- url 'https://maven.icosillion.com/artifactory/open-source/'
16
- }
14
+ mavenCentral()
17
15
}
18
16
19
17
dependencies {
20
- compile 'com.icosillion.podengine: podengine: 2.4'
18
+ implementation group: 'com.icosillion.podengine', name: ' podengine', version:' 2.4.1 '
21
19
}
22
20
```
23
21
24
22
### Maven
25
23
``` xml
26
- <repositories >
27
- <repository >
28
- <id >icosillion</id >
29
- <name >Icosillion Repository</name >
30
- <url >https://maven.icosillion.com/artifactory/open-source/</url >
31
- </repository >
32
- </repositories >
33
-
34
24
<dependencies >
35
25
<dependency >
36
26
<groupId >com.icosillion.podengine</groupId >
37
27
<artifactId >podengine</artifactId >
38
- <version >2.4</version >
28
+ <version >2.4.1 </version >
39
29
</dependency >
40
30
</dependencies >
41
31
```
Original file line number Diff line number Diff line change
1
+ buildscript {
2
+ repositories {
3
+ mavenCentral()
4
+ }
5
+
6
+ dependencies {
7
+ classpath ' com.vanniktech:gradle-maven-publish-plugin:0.15.1'
8
+ }
9
+ }
10
+
1
11
plugins {
2
12
id ' com.adarshr.test-logger' version ' 2.0.0'
3
13
}
4
14
5
15
apply plugin : ' java'
6
16
apply plugin : ' maven-publish'
17
+ apply plugin : ' com.vanniktech.maven.publish'
7
18
8
19
group = ' com.icosillion.podengine'
9
- version = ' 2.4'
20
+ version = ' 2.4.1 '
10
21
11
22
description = """ Simple library to read podcast feeds"""
12
23
@@ -18,25 +29,15 @@ repositories {
18
29
}
19
30
20
31
dependencies {
21
- implementation group : ' org.dom4j' , name : ' dom4j' , version :' 2.0.2 '
32
+ implementation group : ' org.dom4j' , name : ' dom4j' , version :' 2.0.3 '
22
33
implementation group : ' commons-io' , name : ' commons-io' , version :' 2.5'
23
34
testImplementation group : ' junit' , name : ' junit' , version :' 4.12'
24
35
}
25
36
26
- publishing {
27
- repositories {
28
- maven {
29
- url ' https://maven.icosillion.com/artifactory/open-source/'
30
- credentials {
31
- username project. properties. containsKey(" deploymentUser" ) ? project. properties. get(" deploymentUser" ) : " "
32
- password project. properties. containsKey(" deploymentPassword" ) ? project. properties. get(" deploymentPassword" ) : " "
33
- }
34
- }
35
- }
36
-
37
- publications {
38
- maven(MavenPublication ) {
39
- from components. java
37
+ allprojects {
38
+ plugins. withId(" com.vanniktech.maven.publish" ) {
39
+ mavenPublish {
40
+ sonatypeHost = " S01"
40
41
}
41
42
}
42
43
}
Original file line number Diff line number Diff line change 15
15
*/
16
16
public class NetworkTest {
17
17
18
- @ Test
19
- public void testPodcastFeed () {
20
- try {
21
- Podcast podcast = new Podcast (new URL ("https://rss.art19.com/tim-ferriss-show" ));
22
- assertEquals ("The Tim Ferriss Show" , podcast .getTitle ());
23
- } catch (InvalidFeedException | MalformedURLException | MalformedFeedException e ) {
24
- fail (e .getMessage ());
25
- }
26
- }
27
-
28
18
@ Test
29
19
public void testRelayFeed () {
30
20
try {
You can’t perform that action at this time.
0 commit comments