Skip to content

Commit ef966d7

Browse files
author
roman_tcaregorodtcev
committed
camelCase dependencies changed to snake case
1 parent da60f9b commit ef966d7

File tree

3 files changed

+15
-16
lines changed

3 files changed

+15
-16
lines changed

app/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ apply plugin: 'kotlin-android'
33
apply plugin: 'kotlin-android-extensions'
44

55
android {
6-
compileSdkVersion rootProject.compile_Sdk_Version
6+
compileSdkVersion rootProject.compile_sdk_version
77

88
defaultConfig {
99
applicationId "com.omega"
10-
minSdkVersion rootProject.min_Sdk_Version
11-
targetSdkVersion rootProject.target_Sdk_Version
10+
minSdkVersion rootProject.min_sdk_version
11+
targetSdkVersion rootProject.target_sdk_version
1212
versionCode 1
1313
versionName "1.0"
1414
}
@@ -23,8 +23,8 @@ android {
2323

2424
dependencies {
2525
api fileTree(dir: 'libs', include: ['*.jar'])
26-
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
27-
api "androidx.appcompat:appcompat:$appCompatLibraryVersion"
26+
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
27+
api "androidx.appcompat:appcompat:$app_compat_version"
2828

2929
api project(":center_icon_button")
3030
}

build.gradle

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
buildscript {
2-
ext.kotlinVersion = '1.3.41'
3-
ext.appCompatLibraryVersion = '1.0.2'
4-
ext.target_Sdk_Version = 28
5-
ext.compile_Sdk_Version = 28
6-
ext.min_Sdk_Version = 14
7-
2+
ext.kotlin_version = '1.3.41'
3+
ext.app_compat_version = '1.0.2'
4+
ext.target_sdk_version = 28
5+
ext.compile_sdk_version = 28
6+
ext.min_sdk_version = 14
87

98
repositories {
109
google()
@@ -14,7 +13,7 @@ buildscript {
1413
}
1514
dependencies {
1615
classpath 'com.android.tools.build:gradle:3.4.2'
17-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
16+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1817
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
1918
}
2019
}

center_icon_button/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ apply plugin: 'com.github.dcendents.android-maven'
33
group = 'com.github.Omega-R'
44

55
android {
6-
compileSdkVersion rootProject.compile_Sdk_Version
6+
compileSdkVersion rootProject.compile_sdk_version
77

88
defaultConfig {
9-
minSdkVersion rootProject.min_Sdk_Version
10-
targetSdkVersion rootProject.target_Sdk_Version
9+
minSdkVersion rootProject.min_sdk_version
10+
targetSdkVersion rootProject.target_sdk_version
1111
versionCode 1
1212
versionName "1.0"
1313
}
@@ -22,5 +22,5 @@ android {
2222

2323
dependencies {
2424
implementation fileTree(dir: 'libs', include: ['*.jar'])
25-
compileOnly "androidx.appcompat:appcompat:$appCompatLibraryVersion"
25+
compileOnly "androidx.appcompat:appcompat:$app_compat_version"
2626
}

0 commit comments

Comments
 (0)