This repository was archived by the owner on Mar 4, 2025. It is now read-only.
File tree 8 files changed +21
-17
lines changed
8 files changed +21
-17
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,9 @@ dependencies {
52
52
// Libraries which can be re-used in other modules should use the `api` keyword.
53
53
// This way they can be shared with dependent feature modules.
54
54
55
- implementation ' androidx.annotation:annotation:1.1 .0'
56
- implementation ' androidx.appcompat:appcompat:1.1 .0'
57
- implementation ' androidx.constraintlayout:constraintlayout:1 .1.3 '
58
- api ' com.google.android.material:material:1.0 .0'
55
+ implementation ' androidx.annotation:annotation:1.3 .0'
56
+ implementation ' androidx.appcompat:appcompat:1.4 .0'
57
+ implementation ' androidx.constraintlayout:constraintlayout:2 .1.2 '
58
+ api ' com.google.android.material:material:1.4 .0'
59
59
api " com.google.android.play:core:${ versions.playcore} "
60
- api " org.jetbrains.kotlin:kotlin-stdlib-jdk7:${ versions.kotlin} "
61
60
}
Original file line number Diff line number Diff line change 26
26
android : roundIcon =" @mipmap/ic_launcher_round"
27
27
android : supportsRtl =" true"
28
28
android : theme =" @style/AppTheme" >
29
- <activity android : name =" .MainActivity" >
29
+ <activity android : name =" .MainActivity"
30
+ android : exported =" true" >
30
31
<intent-filter >
31
32
<action android : name =" android.intent.action.MAIN" />
32
33
<action android : name =" android.intent.action.VIEW" />
Original file line number Diff line number Diff line change 19
19
buildscript {
20
20
21
21
ext. versions = [
22
- ' compileSdk' : 29 ,
22
+ ' compileSdk' : 31 ,
23
23
' minSdk' : 16 ,
24
- ' targetSdk' : 29 ,
25
- ' kotlin' : ' 1.3.50 ' ,
26
- ' playcore' : ' 1.6.4 ' ,
24
+ ' targetSdk' : 31 ,
25
+ ' kotlin' : ' 1.6.10 ' ,
26
+ ' playcore' : ' 1.10.3 ' ,
27
27
]
28
28
29
29
ext. names = [
@@ -32,10 +32,10 @@ buildscript {
32
32
33
33
repositories {
34
34
google()
35
- jcenter ()
35
+ mavenCentral ()
36
36
}
37
37
dependencies {
38
- classpath ' com.android.tools.build:gradle:3.5.2 '
38
+ classpath ' com.android.tools.build:gradle:7.0.4 '
39
39
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:${ versions.kotlin} "
40
40
41
41
// NOTE: Do not place your application dependencies here; they belong
@@ -46,6 +46,6 @@ buildscript {
46
46
allprojects {
47
47
repositories {
48
48
google()
49
- jcenter ()
49
+ mavenCentral ()
50
50
}
51
51
}
Original file line number Diff line number Diff line change 27
27
</dist : module >
28
28
29
29
<application >
30
- <activity android : name =" com.google.android.samples.dynamicfeatures.ondemand.JavaSampleActivity" >
30
+ <activity android : name =" com.google.android.samples.dynamicfeatures.ondemand.JavaSampleActivity"
31
+ android : exported =" true" >
31
32
<intent-filter >
32
33
<action android : name =" android.intent.action.VIEW" />
33
34
</intent-filter >
Original file line number Diff line number Diff line change 27
27
</dist : module >
28
28
29
29
<application >
30
- <activity android : name =" com.google.android.samples.dynamicfeatures.ondemand.KotlinSampleActivity" >
30
+ <activity android : name =" com.google.android.samples.dynamicfeatures.ondemand.KotlinSampleActivity"
31
+ android : exported =" true" >
31
32
<intent-filter >
32
33
<action android : name =" android.intent.action.VIEW" />
33
34
</intent-filter >
Original file line number Diff line number Diff line change 27
27
</dist : module >
28
28
29
29
<application >
30
- <activity android : name =" com.google.android.samples.dynamicfeatures.ondemand.NativeSampleActivity" >
30
+ <activity android : name =" com.google.android.samples.dynamicfeatures.ondemand.NativeSampleActivity"
31
+ android : exported =" true" >
31
32
<intent-filter >
32
33
<action android : name =" android.intent.action.VIEW" />
33
34
</intent-filter >
Original file line number Diff line number Diff line change @@ -27,3 +27,4 @@ org.gradle.jvmargs=-Xmx1536m
27
27
# This option should only be used with decoupled projects. More details, visit
28
28
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
29
29
# org.gradle.parallel=true
30
+ android.useAndroidX =true
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-5.4.1 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.0.2 -all.zip
You can’t perform that action at this time.
0 commit comments