Skip to content

Commit 940dbd6

Browse files
committed
Add apache-http-client module
1 parent b27c3c6 commit 940dbd6

File tree

6 files changed

+28
-20
lines changed

6 files changed

+28
-20
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ Gradle file:
2020
```
2121
...
2222
repositories {
23-
maven { url 'https://jitpack.io' }
23+
maven {
24+
url "https://mvn.universal-development.com/public"
25+
}
2426
}
2527
...
2628
dependencies {

apache-http-client/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dependencies {
2+
api("org.apache.httpcomponents:httpclient:$httpclientVersion",
3+
"org.apache.httpcomponents:httpmime:$httpmimeVersion",
4+
"org.apache.httpcomponents:httpcore:$httpcoreVresion"
5+
)
6+
}

build.gradle

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,28 @@ plugins {
44

55
}
66

7-
group = "com.github.unidev-platform"
7+
group = "com.unidev.unidev-http-client"
88

99
subprojects {
1010
version = gitVersion()
1111

1212
apply plugin: 'java'
1313
apply plugin: 'idea'
1414
apply plugin: 'maven-publish'
15+
apply plugin: 'java-library'
16+
17+
repositories {
18+
google()
19+
mavenCentral()
20+
maven {
21+
url "https://mvn.universal-development.com/public"
22+
}
23+
}
24+
25+
tasks.named('test') {
26+
useJUnitPlatform()
27+
}
28+
1529

1630
java {
1731
withJavadocJar()

gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
httpclientVersion=4.5.13
2+
httpmimeVersion=4.5.13
3+
httpcoreVresion=4.5.13

ok-http/build.gradle

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
1-
2-
plugins {
3-
4-
id 'java-library'
5-
}
6-
7-
repositories {
8-
9-
mavenCentral()
10-
}
11-
121
dependencies {
13-
142
implementation("com.squareup.okhttp3:okhttp:4.9.0")
15-
163
testImplementation 'org.junit.jupiter:junit-jupiter:5.7.2'
174
testImplementation 'org.apache.commons:commons-lang3:3.12.0'
185
}
19-
20-
tasks.named('test') {
21-
useJUnitPlatform()
22-
}

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
rootProject.name = 'unidev-http-client'
33

4-
include('ok-http')
4+
include('ok-http', 'apache-http-client')

0 commit comments

Comments
 (0)