Skip to content

Commit

Permalink
chore: Configure JDK 11 for JitPack
Browse files Browse the repository at this point in the history
  • Loading branch information
nya-elimu committed Sep 22, 2021
1 parent d085dd9 commit 0918909
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "ai.elimu.analytics"
minSdkVersion 24
targetSdkVersion 30
versionCode 3001006
versionName "3.1.6"
versionCode 3001007
versionName "3.1.7"
setProperty("archivesBaseName", "${applicationId}-${versionCode}")
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
Expand All @@ -32,8 +32,8 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}

Expand Down
4 changes: 4 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Configuration file for JitPack: https://jitpack.io/#elimu-ai/analytics

jdk:
- openjdk11
6 changes: 3 additions & 3 deletions utils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
}

Expand All @@ -36,7 +36,7 @@ publishing {
utils(MavenPublication) {
groupId 'ai.elimu.analytics'
artifactId 'utils'
version '3.1.6'
version '3.1.7'
artifact("${buildDir}/outputs/aar/utils-${version}-release.aar")
}
}
Expand Down

0 comments on commit 0918909

Please sign in to comment.