File tree Expand file tree Collapse file tree 6 files changed +28
-20
lines changed
Expand file tree Collapse file tree 6 files changed +28
-20
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ Gradle file:
2020```
2121...
2222repositories {
23- maven { url 'https://jitpack.io' }
23+ maven {
24+ url "https://mvn.universal-development.com/public"
25+ }
2426}
2527...
2628dependencies {
Original file line number Diff line number Diff line change 1+ dependencies {
2+ api(" org.apache.httpcomponents:httpclient:$httpclientVersion " ,
3+ " org.apache.httpcomponents:httpmime:$httpmimeVersion " ,
4+ " org.apache.httpcomponents:httpcore:$httpcoreVresion "
5+ )
6+ }
Original file line number Diff line number Diff line change @@ -4,14 +4,28 @@ plugins {
44
55}
66
7- group = " com.github .unidev-platform "
7+ group = " com.unidev .unidev-http-client "
88
99subprojects {
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()
Original file line number Diff line number Diff line change 1+ httpclientVersion =4.5.13
2+ httpmimeVersion =4.5.13
3+ httpcoreVresion =4.5.13
Original file line number Diff line number Diff line change 1-
2- plugins {
3-
4- id ' java-library'
5- }
6-
7- repositories {
8-
9- mavenCentral()
10- }
11-
121dependencies {
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- }
Original file line number Diff line number Diff line change 11
22rootProject. name = ' unidev-http-client'
33
4- include(' ok-http' )
4+ include(' ok-http' , ' apache-http-client ' )
You can’t perform that action at this time.
0 commit comments