[components] Reads componentsVersion from .buildconfig.yml
This commit is contained in:
committed by
Sebastian Kaspari
parent
b190f31a35
commit
3ee4d96a84
@@ -1,3 +1,4 @@
|
|||||||
|
componentsVersion: 0.38.0
|
||||||
projects:
|
projects:
|
||||||
concept-awesomebar:
|
concept-awesomebar:
|
||||||
path: components/concept/awesomebar
|
path: components/concept/awesomebar
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ task printModules {
|
|||||||
|
|
||||||
task printVersion {
|
task printVersion {
|
||||||
doLast {
|
doLast {
|
||||||
println("version: " + Config.componentsVersion)
|
println("version: " + config.componentsVersion)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,21 +2,18 @@
|
|||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
object Config {
|
// Synchronized library configuration for all modules
|
||||||
// Synchronized library configuration for all modules
|
// This "componentsVersion" number is defined in ".buildconfig.yml" and should follow
|
||||||
|
// semantic versioning (MAJOR.MINOR.PATCH). See https://semver.org/
|
||||||
// This version number should follow semantic versioning (MAJOR.MINOR.PATCH).
|
class Config(val componentsVersion: String) {
|
||||||
// See https://semver.org/
|
|
||||||
const val componentsVersion = "0.38.0"
|
|
||||||
|
|
||||||
// Maven group ID used for all components
|
// Maven group ID used for all components
|
||||||
const val componentsGroupId = "org.mozilla.components"
|
val componentsGroupId = "org.mozilla.components"
|
||||||
|
|
||||||
// Synchronized build configuration for all modules
|
// Synchronized build configuration for all modules
|
||||||
const val compileSdkVersion = 28
|
val compileSdkVersion = 28
|
||||||
const val minSdkVersion = 21
|
val minSdkVersion = 21
|
||||||
const val targetSdkVersion = 28
|
val targetSdkVersion = 28
|
||||||
|
|
||||||
// Component lib-dataprotect requires functionality from API 23.
|
// Component lib-dataprotect requires functionality from API 23.
|
||||||
const val minSdkVersion_dataprotect = 23
|
val minSdkVersion_dataprotect = 23
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
@@ -48,4 +48,4 @@ dependencies {
|
|||||||
archivesBaseName = "browser-awesomebar"
|
archivesBaseName = "browser-awesomebar"
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
@@ -33,4 +33,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -44,4 +44,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -51,4 +51,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -44,4 +44,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
@@ -49,4 +49,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
@@ -43,4 +43,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
@@ -44,4 +44,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -36,4 +36,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -44,4 +44,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -44,4 +44,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -36,4 +36,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
@@ -40,4 +40,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
@@ -47,4 +47,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -42,4 +42,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -28,4 +28,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -39,4 +39,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,13 +6,13 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
|
||||||
buildConfigField("String", "LIBRARY_VERSION", "\"" + Config.componentsVersion + "\"")
|
buildConfigField("String", "LIBRARY_VERSION", "\"" + config.componentsVersion + "\"")
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -36,4 +36,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -29,4 +29,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -29,4 +29,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -36,4 +36,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -48,4 +48,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -38,4 +38,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -41,4 +41,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -7,11 +7,11 @@ apply plugin: 'kotlin-android'
|
|||||||
apply plugin: 'kotlin-android-extensions'
|
apply plugin: 'kotlin-android-extensions'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -37,4 +37,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -7,11 +7,11 @@ apply plugin: 'kotlin-android'
|
|||||||
apply plugin: 'kotlin-android-extensions'
|
apply plugin: 'kotlin-android-extensions'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -42,4 +42,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -37,4 +37,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -35,4 +35,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -7,11 +7,11 @@ apply plugin: 'kotlin-android'
|
|||||||
apply plugin: 'kotlin-kapt'
|
apply plugin: 'kotlin-kapt'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
|
||||||
kapt {
|
kapt {
|
||||||
arguments {
|
arguments {
|
||||||
@@ -54,4 +54,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -40,4 +40,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -37,4 +37,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -7,11 +7,11 @@ apply plugin: 'kotlin-android'
|
|||||||
apply plugin: 'kotlin-android-extensions'
|
apply plugin: 'kotlin-android-extensions'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -49,4 +49,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -39,4 +39,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -7,11 +7,11 @@ apply plugin: 'kotlin-android'
|
|||||||
apply plugin: 'kotlin-android-extensions'
|
apply plugin: 'kotlin-android-extensions'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
@@ -46,4 +46,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion_dataprotect
|
minSdkVersion config.minSdkVersion_dataprotect
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
@@ -32,4 +32,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -35,4 +35,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -36,4 +36,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
@@ -32,4 +32,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
@@ -40,4 +40,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -40,4 +40,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -18,13 +18,13 @@ String GLEAN_PING_SCHEMA_GIT_HASH = "6041aa6"
|
|||||||
String GLEAN_PING_SCHEMA_URL = "https://raw.githubusercontent.com/mozilla-services/mozilla-pipeline-schemas/$GLEAN_PING_SCHEMA_GIT_HASH/schemas/glean/baseline/baseline.1.schema.json"
|
String GLEAN_PING_SCHEMA_URL = "https://raw.githubusercontent.com/mozilla-services/mozilla-pipeline-schemas/$GLEAN_PING_SCHEMA_GIT_HASH/schemas/glean/baseline/baseline.1.schema.json"
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
|
||||||
buildConfigField("String", "LIBRARY_VERSION", "\"" + Config.componentsVersion + "\"")
|
buildConfigField("String", "LIBRARY_VERSION", "\"" + config.componentsVersion + "\"")
|
||||||
buildConfigField("String", "GLEAN_PING_SCHEMA_URL", "\"" + GLEAN_PING_SCHEMA_URL + "\"")
|
buildConfigField("String", "GLEAN_PING_SCHEMA_URL", "\"" + GLEAN_PING_SCHEMA_URL + "\"")
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -52,6 +52,6 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|
||||||
apply from: './scripts/sdk_generator.gradle'
|
apply from: './scripts/sdk_generator.gradle'
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
@@ -44,4 +44,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -40,4 +40,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
@@ -38,4 +38,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
@@ -35,4 +35,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
@@ -42,5 +42,5 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
|
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
@@ -41,4 +41,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
@@ -34,4 +34,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
@@ -5,11 +5,11 @@
|
|||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -25,4 +25,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
@@ -5,11 +5,11 @@
|
|||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -25,4 +25,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
@@ -5,11 +5,11 @@
|
|||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
@@ -30,4 +30,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -34,4 +34,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
@@ -6,11 +6,11 @@ apply plugin: 'com.android.library'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@@ -32,4 +32,4 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../../publish.gradle'
|
apply from: '../../../publish.gradle'
|
||||||
ext.configurePublish(Config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
ext.configurePublish(config.componentsGroupId, archivesBaseName, gradle.componentDescriptions[archivesBaseName])
|
||||||
@@ -50,7 +50,7 @@ ext.configurePublish = { groupIdArg, artifactIdArg, descriptionArg ->
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
version = Config.componentsVersion + (project.hasProperty('snapshot') ? '-SNAPSHOT' : '')
|
version = config.componentsVersion + (project.hasProperty('snapshot') ? '-SNAPSHOT' : '')
|
||||||
|
|
||||||
task sourcesJar(type: Jar) {
|
task sourcesJar(type: Jar) {
|
||||||
from android.sourceSets.main.java.srcDirs
|
from android.sourceSets.main.java.srcDirs
|
||||||
@@ -85,7 +85,7 @@ ext.configurePublish = { groupIdArg, artifactIdArg, descriptionArg ->
|
|||||||
mavenDeployer {
|
mavenDeployer {
|
||||||
pom.groupId = groupIdArg
|
pom.groupId = groupIdArg
|
||||||
pom.artifactId = artifactIdArg
|
pom.artifactId = artifactIdArg
|
||||||
pom.version = Config.componentsVersion + (project.hasProperty('snapshot') ? '-SNAPSHOT' : '')
|
pom.version = config.componentsVersion + (project.hasProperty('snapshot') ? '-SNAPSHOT' : '')
|
||||||
|
|
||||||
pom.project {
|
pom.project {
|
||||||
licenses {
|
licenses {
|
||||||
|
|||||||
@@ -7,12 +7,12 @@ apply plugin: 'kotlin-android'
|
|||||||
apply plugin: 'kotlin-android-extensions'
|
apply plugin: 'kotlin-android-extensions'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "org.mozilla.samples.browser"
|
applicationId "org.mozilla.samples.browser"
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
|
|
||||||
|
|||||||
@@ -7,12 +7,12 @@ apply plugin: 'kotlin-android'
|
|||||||
apply plugin: 'kotlin-android-extensions'
|
apply plugin: 'kotlin-android-extensions'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "org.mozilla.samples.crash"
|
applicationId "org.mozilla.samples.crash"
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
|
|
||||||
|
|||||||
@@ -2,13 +2,13 @@ apply plugin: 'com.android.application'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
apply plugin: 'kotlin-android-extensions'
|
apply plugin: 'kotlin-android-extensions'
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "org.mozilla.samples.dataprotect"
|
applicationId "org.mozilla.samples.dataprotect"
|
||||||
|
|
||||||
minSdkVersion Config.minSdkVersion_dataprotect
|
minSdkVersion config.minSdkVersion_dataprotect
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
|
|
||||||
|
|||||||
@@ -7,12 +7,12 @@ apply plugin: 'kotlin-android'
|
|||||||
apply plugin: 'kotlin-android-extensions'
|
apply plugin: 'kotlin-android-extensions'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "org.mozilla.samples.fxa"
|
applicationId "org.mozilla.samples.fxa"
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
|
|
||||||
|
|||||||
@@ -11,12 +11,12 @@ apply plugin: 'kotlin-android'
|
|||||||
apply plugin: 'kotlin-android-extensions'
|
apply plugin: 'kotlin-android-extensions'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "org.mozilla.samples.glean"
|
applicationId "org.mozilla.samples.glean"
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
|
|
||||||
|
|||||||
@@ -7,12 +7,12 @@ apply plugin: 'kotlin-android'
|
|||||||
apply plugin: 'kotlin-android-extensions'
|
apply plugin: 'kotlin-android-extensions'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "org.mozilla.samples.history"
|
applicationId "org.mozilla.samples.history"
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
|
|
||||||
|
|||||||
@@ -7,12 +7,12 @@ apply plugin: 'kotlin-android'
|
|||||||
apply plugin: 'kotlin-android-extensions'
|
apply plugin: 'kotlin-android-extensions'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "org.mozilla.samples.sync.logins"
|
applicationId "org.mozilla.samples.sync.logins"
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
|
|
||||||
|
|||||||
@@ -7,12 +7,12 @@ apply plugin: 'kotlin-android'
|
|||||||
apply plugin: 'kotlin-android-extensions'
|
apply plugin: 'kotlin-android-extensions'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion Config.compileSdkVersion
|
compileSdkVersion config.compileSdkVersion
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "org.mozilla.samples.toolbar"
|
applicationId "org.mozilla.samples.toolbar"
|
||||||
minSdkVersion Config.minSdkVersion
|
minSdkVersion config.minSdkVersion
|
||||||
targetSdkVersion Config.targetSdkVersion
|
targetSdkVersion config.targetSdkVersion
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
|
|
||||||
|
|||||||
@@ -42,6 +42,12 @@ buildconfig.projects.each { project ->
|
|||||||
setupProject(project.key, project.value.path, project.value.description, project.value.shouldPublish)
|
setupProject(project.key, project.value.path, project.value.description, project.value.shouldPublish)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gradle.projectsLoaded { ->
|
||||||
|
// Wait until root project is "loaded" before we set "config"
|
||||||
|
// Note that since this is set on "rootProject.ext", it will be "in scope" during the evaluation of all projects'
|
||||||
|
// gradle files. This means that they can just access "config.<value>", and it'll function properly
|
||||||
|
gradle.rootProject.ext.config = new Config(buildconfig.componentsVersion)
|
||||||
|
}
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
// Local Development overrides
|
// Local Development overrides
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user