Skip to content

Commit 025f563

Browse files
committed
Update gradle build setup
1 parent 3d0b55e commit 025f563

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ Add this dependency to your project's build file:
5757
5858
dependencies {
5959
implementation "com.github.freeclimbapi:freeclimb-java-client:6.3.0"
60-
implementation("com.squareup.okhttp3:okhttp:4.9.3")
61-
implementation("com.squareup.okhttp3:logging-interceptor:4.9.3")
6260
}
6361
```
6462

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ if(hasProperty('target') && target == 'android') {
101101
mainClass = System.getProperty('mainClass')
102102
classpath = sourceSets.main.runtimeClasspath
103103
}
104+
105+
task copyDependencies(type: Copy) {
106+
from configurations.runtimeClasspath
107+
into "$buildDir/lib"
108+
}
109+
tasks.build.dependsOn(copyDependencies)
104110
}
105111

106112
ext {

0 commit comments

Comments
 (0)