Skip to content

Commit 8729b23

Browse files
author
mert.yuksel
committed
Update project dependencies
1 parent 4040912 commit 8729b23

File tree

26 files changed

+121
-65
lines changed

26 files changed

+121
-65
lines changed

build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,3 @@ allprojects {
1919
maven("https://jitpack.io")
2020
}
2121
}
22-
23-
tasks.create<Delete>("clean") {
24-
delete(rootProject.buildDir)
25-
}

buildSrc/settings.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rootProject.name = "trendyol-android-ui-components-buildSrc"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
object Configs {
22

3-
const val compileSdkVersion = 33
3+
const val compileSdkVersion = 34
4+
const val targetSdkVersion = 34
45
const val minSdkVersion = 21
5-
const val targetSdkVersion = 33
6-
const val buildToolsVersion = "33.0.0"
6+
const val buildToolsVersion = "34.0.0"
77

88
const val applicationId = "com.trendyol.uicomponents"
99
}

buildSrc/src/main/kotlin/Dependencies.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
object Dependencies {
22

3-
const val kotlinJDK = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.61"
4-
53
const val coreKtx = "androidx.core:core-ktx:1.3.2"
64
const val appCompat = "androidx.appcompat:appcompat:1.2.0"
75
const val material = "com.google.android.material:material:1.4.0"
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
object Plugins {
22

3-
const val androidGradlePlugin = "com.android.tools.build:gradle:7.3.1"
4-
const val kotlinGradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10"
3+
private const val kotlinVersion = "2.0.0"
4+
const val androidGradlePlugin = "com.android.tools.build:gradle:8.5.0"
5+
const val kotlinGradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
56

67
const val androidApplication = "com.android.application"
78
const val androidLibrary = "com.android.library"
89
const val kotlinAndroid = "kotlin-android"
910
const val kotlinKapt = "kotlin-kapt"
1011
const val kotlinParcelize = "kotlin-parcelize"
1112
const val mavenPublish = "publish"
13+
const val compose = "org.jetbrains.kotlin.plugin.compose"
14+
1215
}

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ org.gradle.configureondemand=true
55

66
android.useAndroidX=true
77
android.enableJetifier=true
8-
android.disableAutomaticComponentCreation=true
98

109
kapt.include.compile.classpath=false
1110
kapt.incremental.apt=false
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

libraries/card-input-view/build.gradle.kts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ plugins {
44
id(Plugins.mavenPublish)
55
}
66

7+
kotlin.jvmToolchain(17)
8+
79
android {
810
compileSdk = Configs.compileSdkVersion
911
buildToolsVersion = Configs.buildToolsVersion
1012

1113
defaultConfig {
1214
minSdk = Configs.minSdkVersion
13-
targetSdk = Configs.targetSdkVersion
1415

1516
vectorDrawables.useSupportLibrary = true
1617
}
@@ -32,14 +33,12 @@ android {
3233
buildFeatures.viewBinding = true
3334

3435
compileOptions {
35-
sourceCompatibility = JavaVersion.VERSION_1_8
36-
targetCompatibility = JavaVersion.VERSION_1_8
36+
sourceCompatibility = JavaVersion.VERSION_17
37+
targetCompatibility = JavaVersion.VERSION_17
3738
}
3839
}
3940

4041
dependencies {
41-
implementation(Dependencies.kotlinJDK)
42-
4342
implementation(Dependencies.coreKtx)
4443
implementation(Dependencies.constraintLayout)
4544
implementation(Dependencies.material)

libraries/dialogs/build.gradle.kts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ android {
1313

1414
defaultConfig {
1515
minSdk = Configs.minSdkVersion
16-
targetSdk = Configs.targetSdkVersion
1716
vectorDrawables.useSupportLibrary = true
1817

1918
consumerProguardFiles("consumer-rules.pro")
@@ -36,10 +35,14 @@ android {
3635
}
3736

3837
namespace = "com.trendyol.dialog"
38+
39+
compileOptions {
40+
sourceCompatibility = JavaVersion.VERSION_17
41+
targetCompatibility = JavaVersion.VERSION_17
42+
}
3943
}
4044

4145
dependencies {
42-
implementation(Dependencies.kotlinJDK)
4346
implementation(Dependencies.appCompat)
4447
implementation(Dependencies.coreKtx)
4548
implementation(Dependencies.material)

libraries/fit-option-message-view/build.gradle.kts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ plugins {
44
id(Plugins.mavenPublish)
55
}
66

7+
kotlin.jvmToolchain(17)
8+
79
android {
810
compileSdk = Configs.compileSdkVersion
911
buildToolsVersion = Configs.buildToolsVersion
1012

1113
defaultConfig {
1214
minSdk = Configs.minSdkVersion
13-
targetSdk = Configs.targetSdkVersion
1415
vectorDrawables.useSupportLibrary = true
1516

1617
consumerProguardFiles("consumer-rules.pro")
@@ -28,10 +29,14 @@ android {
2829
}
2930

3031
namespace = "com.trendyol.fitoptionmessageview"
32+
33+
compileOptions {
34+
sourceCompatibility = JavaVersion.VERSION_17
35+
targetCompatibility = JavaVersion.VERSION_17
36+
}
3137
}
3238

3339
dependencies {
34-
implementation(Dependencies.kotlinJDK)
3540
implementation(Dependencies.appCompat)
3641
implementation(Dependencies.coreKtx)
3742
}

0 commit comments

Comments
 (0)