Skip to content

Commit aae7daf

Browse files
committed
Java 17
1 parent 55116fc commit aae7daf

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v2
1616
- uses: actions/setup-java@v1
1717
with:
18-
java-version: 11
18+
java-version: 17
1919
- name: Make gradlew executable
2020
run: chmod +x ./gradlew
2121
- name: Build with Gradle

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ android {
2929
}
3030
}
3131
compileOptions {
32-
sourceCompatibility JavaVersion.VERSION_11
33-
targetCompatibility JavaVersion.VERSION_11
32+
sourceCompatibility JavaVersion.VERSION_17
33+
targetCompatibility JavaVersion.VERSION_17
3434
}
3535
kotlinOptions {
36-
jvmTarget = '11'
36+
jvmTarget = '17'
3737
}
3838

3939
buildFeatures {

openai/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ android {
2222
}
2323
}
2424
compileOptions {
25-
sourceCompatibility JavaVersion.VERSION_11
26-
targetCompatibility JavaVersion.VERSION_11
25+
sourceCompatibility JavaVersion.VERSION_17
26+
targetCompatibility JavaVersion.VERSION_17
2727
}
2828
kotlinOptions {
29-
jvmTarget = '11'
29+
jvmTarget = '17'
3030
}
3131
}
3232

@@ -40,4 +40,5 @@ dependencies {
4040
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
4141
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
4242
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.3'
43+
api "com.github.AppDevNext.Logcat:LogcatCoreLib:3.2"
4344
}

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ dependencyResolutionManagement {
1010
repositories {
1111
google()
1212
mavenCentral()
13+
maven { url 'https://jitpack.io' }
1314
}
1415
}
1516
rootProject.name = "ChatGPTWrapper"

0 commit comments

Comments
 (0)