Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Commit 50fdeef

Browse files
committed
Migrated build.gradle files from kts to groovy
1 parent 048912c commit 50fdeef

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

Basic-Video-Chat-ConnectionService-Kotlin/app/build.gradle.kts renamed to Basic-Video-Chat-ConnectionService-Kotlin/app/build.gradle

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,49 @@ plugins {
22
alias(libs.plugins.android.application)
33
alias(libs.plugins.kotlin.android)
44
alias(libs.plugins.kotlin.compose)
5-
alias(libs.plugins.ksp)
65
alias(libs.plugins.google.dagger.hilt)
6+
alias(libs.plugins.ksp)
77
}
88

9-
apply(from = "../../commons.gradle")
9+
apply from: '../../commons.gradle'
1010

1111
android {
12-
namespace = "com.tokbox.sample.basicvideochatconnectionservice"
13-
compileSdk = 36
12+
namespace 'com.tokbox.sample.basicvideochatconnectionservice'
13+
compileSdk 36
1414

1515
defaultConfig {
16-
applicationId = "com.tokbox.sample.basicvideochatconnectionservice"
17-
minSdk = 24
18-
targetSdk = 36
19-
versionCode = 1
20-
versionName = "1.0"
21-
22-
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
16+
applicationId 'com.tokbox.sample.basicvideochatconnectionservice'
17+
minSdk 24
18+
targetSdk 36
19+
versionCode 1
20+
versionName '1.0'
21+
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
2322
}
2423

2524
buildTypes {
2625
release {
27-
isMinifyEnabled = false
26+
minifyEnabled false
2827
}
2928
}
29+
3030
compileOptions {
31-
sourceCompatibility = JavaVersion.VERSION_11
32-
targetCompatibility = JavaVersion.VERSION_11
31+
sourceCompatibility JavaVersion.VERSION_11
32+
targetCompatibility JavaVersion.VERSION_11
3333
}
34+
3435
kotlinOptions {
35-
jvmTarget = "11"
36+
jvmTarget = '11'
3637
}
38+
3739
buildFeatures {
38-
compose = true
40+
compose true
3941
}
4042
}
4143

42-
val extOpentokSdkVersion = extra["extOpentokSdkVersion"] as String
44+
def extOpentokSdkVersion = ext.extOpentokSdkVersion
4345

4446
dependencies {
45-
//noinspection UseTomlInstead
46-
implementation("com.opentok.android:opentok-android-sdk:${extOpentokSdkVersion}")
47+
implementation "com.opentok.android:opentok-android-sdk:${extOpentokSdkVersion}"
4748

4849
implementation(libs.androidx.core.ktx)
4950
implementation(libs.androidx.lifecycle.runtime.ktx)

Basic-Video-Chat-ConnectionService-Kotlin/build.gradle.kts renamed to Basic-Video-Chat-ConnectionService-Kotlin/build.gradle

File renamed without changes.

0 commit comments

Comments
 (0)