File tree Expand file tree Collapse file tree 6 files changed +26
-35
lines changed
Phone-Call-Detection-Kotlin Expand file tree Collapse file tree 6 files changed +26
-35
lines changed Original file line number Diff line number Diff line change 9
9
10
10
android {
11
11
compileSdkVersion extCompileSdkVersion
12
- buildToolsVersion extBuildToolsVersion
13
12
14
13
defaultConfig {
15
14
applicationId " com.tokbox.sample.phonecalldetection"
@@ -43,5 +42,5 @@ dependencies {
43
42
implementation " pub.devrel:easypermissions:${ extEasyPermissionsVersion} "
44
43
implementation " androidx.constraintlayout:constraintlayout:${ extConstraintLyoutVersion} "
45
44
implementation " androidx.core:core-ktx:+"
46
- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$k otlin_version "
45
+ implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10 "
47
46
}
Original file line number Diff line number Diff line change 19
19
<activity
20
20
android : name =" com.tokbox.sample.phonecalldetection.MainActivity"
21
21
android : screenOrientation =" portrait"
22
- android : label = " @string/app_name " >
22
+ android : exported = " true " >
23
23
<intent-filter >
24
24
<action android : name =" android.intent.action.MAIN" />
25
25
Original file line number Diff line number Diff line change 1
1
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
-
3
- buildscript {
4
- ext. kotlin_version = " 1.5.20"
5
-
6
- apply {
7
- from ' ../commons.gradle'
8
- }
9
-
10
- repositories {
11
- google()
12
- mavenCentral()
13
- }
14
- dependencies {
15
- // Dependency versions are defined in the ../commons.gradle file
16
- classpath " com.android.tools.build:gradle:${ extAgpVersion} "
17
- classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
18
-
19
- // NOTE: Do not place your application dependencies here; they belong
20
- // in the individual module build.gradle files
21
- }
2
+ plugins {
3
+ id ' com.android.application' version ' 7.1.2' apply false
4
+ id ' com.android.library' version ' 7.1.2' apply false
5
+ id ' org.jetbrains.kotlin.android' version ' 1.6.10' apply false
22
6
}
23
7
24
- allprojects {
25
- repositories {
26
- google()
27
- mavenCentral()
28
- }
29
- }
30
-
31
- repositories {
32
- mavenCentral()
33
- }
8
+ task clean (type : Delete ) {
9
+ delete rootProject. buildDir
10
+ }
Original file line number Diff line number Diff line change 9
9
10
10
# Specifies the JVM arguments used for the daemon process.
11
11
# The setting is particularly useful for tweaking memory settings.
12
- org.gradle.jvmargs =-Xmx2048m
12
+ org.gradle.jvmargs =-Xmx4096m
13
13
14
14
# When configured, Gradle will run in incubating parallel mode.
15
15
# This option should only be used with decoupled projects. More details, visit
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-6.9 -bin.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.2 -bin.zip
Original file line number Diff line number Diff line change
1
+ pluginManagement {
2
+ repositories {
3
+ gradlePluginPortal()
4
+ google()
5
+ mavenCentral()
6
+ }
7
+ }
8
+ dependencyResolutionManagement {
9
+ repositoriesMode. set(RepositoriesMode . FAIL_ON_PROJECT_REPOS )
10
+ repositories {
11
+ google()
12
+ mavenCentral()
13
+ }
14
+ }
15
+
1
16
include ' :app'
You can’t perform that action at this time.
0 commit comments