Skip to content

Commit

Permalink
add jvmTargetCompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
akliuxingyuan committed Apr 22, 2024
1 parent d293e88 commit c4f9eaf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shared-settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,22 @@ class Config {

public final String componentsVersion
public final String componentsGroupId
public final Integer jvmTargetCompatibility
public final Integer compileSdkVersion
public final Integer minSdkVersion
public final Integer targetSdkVersion

Config(
String componentsVersion,
String componentsGroupId,
Integer jvmTargetCompatibility,
Integer compileSdkVersion,
Integer minSdkVersion,
Integer targetSdkVersion
) {
this.componentsVersion = componentsVersion
this.componentsGroupId = componentsGroupId
this.jvmTargetCompatibility = jvmTargetCompatibility
this.compileSdkVersion = compileSdkVersion
this.minSdkVersion = minSdkVersion
this.targetSdkVersion = targetSdkVersion
Expand Down Expand Up @@ -102,6 +105,7 @@ gradle.projectsLoaded { ->
gradle.rootProject.ext.config = new Config(
version,
configData.componentsGroupId,
configData.jvmTargetCompatibility,
configData.compileSdkVersion,
configData.minSdkVersion,
configData.targetSdkVersion
Expand Down

0 comments on commit c4f9eaf

Please sign in to comment.