Skip to content

Commit

Permalink
Fix gradle settings for java version based on project properties
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Surzhykov <yuriisurzhykov@gmail.com>
  • Loading branch information
yuriisurzhykov committed May 27, 2024
1 parent fcc3366 commit a503113
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 49 deletions.
10 changes: 5 additions & 5 deletions location-data/repository/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ plugins {

android {
namespace = "com.github.yuriisurzhykov.purs.data.repository"
compileSdk = 34
compileSdk = ProjectProperties.compileSdkVersion

defaultConfig {
minSdk = 24
minSdk = ProjectProperties.minSdkVersion

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand All @@ -24,11 +24,11 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = ProjectProperties.javaSourceCompatibility
targetCompatibility = ProjectProperties.javaTargetCompatibility
}
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = ProjectProperties.kotlinJvmTarget
}
}

Expand Down

This file was deleted.

This file was deleted.

0 comments on commit a503113

Please sign in to comment.