File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,10 @@ KICL can be used within an Android application. This requires some configuration
55
66### Add the library dependency
77
8- In ` app/build.gradle ` :
8+ In ` app/build.gradle ` ` dependencies ` section :
99
10- ``` groovy
11- dependencies {
12- // ...
13- implementation group: 'org.kitteh.irc', name: 'client-lib', version: '5.1.0'
14- }
10+ ``` kotlin
11+ implementation(" org.kitteh.irc:client-lib:VERSIONHERE" )
1512```
1613
1714### Ensure minSdkVersion >= 24
@@ -23,26 +20,30 @@ android {
2320 // ...
2421 defaultConfig {
2522 applicationId "com.example.kiclandroidtest"
26- minSdkVersion 24
23+ minSdkVersion 34
2724 // ...
2825 }
2926}
3027```
3128
32- ### Ensure source and target compatibility are set for Java 8
29+ (Use KICL 9.0.0 if you need to go earlier than Android 14 - you can then use minSdkVersion of 24)
30+
31+ ### Ensure source and target compatibility are set for Java 17
3332
3433In ` app/build.gradle ` :
3534
3635``` groovy
3736android {
3837 // ...
3938 compileOptions {
40- sourceCompatibility = '1.8'
41- targetCompatibility = '1.8'
39+ sourceCompatibility = JavaVersion.VERSION_17
40+ targetCompatibility = JavaVersion.VERSION_17
4241 }
4342}
4443```
4544
45+ (If using KICL 9.0.0, set this to Java 8)
46+
4647### Filter out duplicate META-INF files
4748
4849In ` app/build.gradle ` :
You can’t perform that action at this time.
0 commit comments