|
|
@ -21,6 +21,7 @@ class Config {
|
|
|
|
|
|
|
|
|
|
|
|
public final String componentsVersion
|
|
|
|
public final String componentsVersion
|
|
|
|
public final String componentsGroupId
|
|
|
|
public final String componentsGroupId
|
|
|
|
|
|
|
|
public final Integer jvmTargetCompatibility
|
|
|
|
public final Integer compileSdkVersion
|
|
|
|
public final Integer compileSdkVersion
|
|
|
|
public final Integer minSdkVersion
|
|
|
|
public final Integer minSdkVersion
|
|
|
|
public final Integer targetSdkVersion
|
|
|
|
public final Integer targetSdkVersion
|
|
|
@ -28,12 +29,14 @@ class Config {
|
|
|
|
Config(
|
|
|
|
Config(
|
|
|
|
String componentsVersion,
|
|
|
|
String componentsVersion,
|
|
|
|
String componentsGroupId,
|
|
|
|
String componentsGroupId,
|
|
|
|
|
|
|
|
Integer jvmTargetCompatibility,
|
|
|
|
Integer compileSdkVersion,
|
|
|
|
Integer compileSdkVersion,
|
|
|
|
Integer minSdkVersion,
|
|
|
|
Integer minSdkVersion,
|
|
|
|
Integer targetSdkVersion
|
|
|
|
Integer targetSdkVersion
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
this.componentsVersion = componentsVersion
|
|
|
|
this.componentsVersion = componentsVersion
|
|
|
|
this.componentsGroupId = componentsGroupId
|
|
|
|
this.componentsGroupId = componentsGroupId
|
|
|
|
|
|
|
|
this.jvmTargetCompatibility = jvmTargetCompatibility
|
|
|
|
this.compileSdkVersion = compileSdkVersion
|
|
|
|
this.compileSdkVersion = compileSdkVersion
|
|
|
|
this.minSdkVersion = minSdkVersion
|
|
|
|
this.minSdkVersion = minSdkVersion
|
|
|
|
this.targetSdkVersion = targetSdkVersion
|
|
|
|
this.targetSdkVersion = targetSdkVersion
|
|
|
@ -102,6 +105,7 @@ gradle.projectsLoaded { ->
|
|
|
|
gradle.rootProject.ext.config = new Config(
|
|
|
|
gradle.rootProject.ext.config = new Config(
|
|
|
|
version,
|
|
|
|
version,
|
|
|
|
configData.componentsGroupId,
|
|
|
|
configData.componentsGroupId,
|
|
|
|
|
|
|
|
configData.jvmTargetCompatibility,
|
|
|
|
configData.compileSdkVersion,
|
|
|
|
configData.compileSdkVersion,
|
|
|
|
configData.minSdkVersion,
|
|
|
|
configData.minSdkVersion,
|
|
|
|
configData.targetSdkVersion
|
|
|
|
configData.targetSdkVersion
|
|
|
|