Skip to content

Commit 2ceef0b

Browse files
committed
update tutorials AGP to 7.3.0
1 parent 5aadf11 commit 2ceef0b

File tree

15 files changed

+65
-56
lines changed

15 files changed

+65
-56
lines changed

samples/tutorial/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
33
// Top-level build file where you can add configuration options common to all sub-projects/modules.
44
buildscript {
55
ext {
6-
kotlin_version = "1.6.10"
6+
kotlin_version = '1.6.21'
77
workflow_version = "1.7.1"
88

99
deps = [

samples/tutorial/tutorial-1-complete/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ plugins {
44
}
55

66
android {
7-
compileSdkVersion 31
7+
compileSdk = 32
88

99
defaultConfig {
1010
applicationId "com.squareup.workflow.tutorial"
11-
minSdkVersion 21
12-
targetSdkVersion 30
11+
minSdk = 21
12+
targetSdk = 32
1313
versionCode 1
1414
versionName "1.0"
1515

@@ -23,6 +23,7 @@ android {
2323
kotlinOptions {
2424
jvmTarget = '1.8'
2525
}
26+
namespace 'workflow.tutorial'
2627
}
2728

2829
dependencies {

samples/tutorial/tutorial-1-complete/src/main/AndroidManifest.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="workflow.tutorial">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<application
65
android:allowBackup="true"
@@ -9,11 +8,13 @@
98
android:roundIcon="@mipmap/ic_launcher_round"
109
android:supportsRtl="true"
1110
android:theme="@style/Theme.WorkflowTutorial">
12-
<activity android:name=".TutorialActivity">
11+
<activity
12+
android:name=".TutorialActivity"
13+
android:exported="true">
1314
<intent-filter>
14-
<action android:name="android.intent.action.MAIN" />
15+
<action android:name="android.intent.action.MAIN"/>
1516

16-
<category android:name="android.intent.category.LAUNCHER" />
17+
<category android:name="android.intent.category.LAUNCHER"/>
1718
</intent-filter>
1819
</activity>
1920
</application>

samples/tutorial/tutorial-2-complete/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ plugins {
44
}
55

66
android {
7-
compileSdkVersion 31
7+
compileSdk = 32
88

99
defaultConfig {
1010
applicationId "workflow.tutorial"
11-
minSdkVersion 21
12-
targetSdkVersion 30
11+
minSdk = 21
12+
targetSdk = 32
1313
versionCode 1
1414
versionName "1.0"
1515

@@ -23,6 +23,7 @@ android {
2323
kotlinOptions {
2424
jvmTarget = '1.8'
2525
}
26+
namespace 'workflow.tutorial'
2627
}
2728

2829
dependencies {

samples/tutorial/tutorial-2-complete/src/main/AndroidManifest.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="workflow.tutorial">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<application
65
android:allowBackup="true"
@@ -9,11 +8,13 @@
98
android:roundIcon="@mipmap/ic_launcher_round"
109
android:supportsRtl="true"
1110
android:theme="@style/Theme.WorkflowTutorial">
12-
<activity android:name=".TutorialActivity">
11+
<activity
12+
android:name=".TutorialActivity"
13+
android:exported="true">
1314
<intent-filter>
14-
<action android:name="android.intent.action.MAIN" />
15+
<action android:name="android.intent.action.MAIN"/>
1516

16-
<category android:name="android.intent.category.LAUNCHER" />
17+
<category android:name="android.intent.category.LAUNCHER"/>
1718
</intent-filter>
1819
</activity>
1920
</application>

samples/tutorial/tutorial-3-complete/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ plugins {
44
}
55

66
android {
7-
compileSdkVersion 31
7+
compileSdk = 32
88

99
defaultConfig {
1010
applicationId "workflow.tutorial"
11-
minSdkVersion 21
12-
targetSdkVersion 30
11+
minSdk = 21
12+
targetSdk = 32
1313
versionCode 1
1414
versionName "1.0"
1515

@@ -23,6 +23,7 @@ android {
2323
kotlinOptions {
2424
jvmTarget = '1.8'
2525
}
26+
namespace 'workflow.tutorial'
2627
}
2728

2829
dependencies {

samples/tutorial/tutorial-3-complete/src/main/AndroidManifest.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="workflow.tutorial">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<application
65
android:allowBackup="true"
@@ -9,11 +8,13 @@
98
android:roundIcon="@mipmap/ic_launcher_round"
109
android:supportsRtl="true"
1110
android:theme="@style/Theme.WorkflowTutorial">
12-
<activity android:name=".TutorialActivity">
11+
<activity
12+
android:name=".TutorialActivity"
13+
android:exported="true">
1314
<intent-filter>
14-
<action android:name="android.intent.action.MAIN" />
15+
<action android:name="android.intent.action.MAIN"/>
1516

16-
<category android:name="android.intent.category.LAUNCHER" />
17+
<category android:name="android.intent.category.LAUNCHER"/>
1718
</intent-filter>
1819
</activity>
1920
</application>

samples/tutorial/tutorial-4-complete/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ plugins {
44
}
55

66
android {
7-
compileSdkVersion 31
7+
compileSdk = 32
88

99
defaultConfig {
1010
applicationId "workflow.tutorial"
11-
minSdkVersion 21
12-
targetSdkVersion 30
11+
minSdk = 21
12+
targetSdk = 32
1313
versionCode 1
1414
versionName "1.0"
1515

@@ -23,6 +23,7 @@ android {
2323
kotlinOptions {
2424
jvmTarget = '1.8'
2525
}
26+
namespace 'workflow.tutorial'
2627
}
2728

2829
dependencies {

samples/tutorial/tutorial-4-complete/src/main/AndroidManifest.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="workflow.tutorial">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<application
65
android:allowBackup="true"
@@ -9,11 +8,13 @@
98
android:roundIcon="@mipmap/ic_launcher_round"
109
android:supportsRtl="true"
1110
android:theme="@style/Theme.WorkflowTutorial">
12-
<activity android:name=".TutorialActivity">
11+
<activity
12+
android:name=".TutorialActivity"
13+
android:exported="true">
1314
<intent-filter>
14-
<action android:name="android.intent.action.MAIN" />
15+
<action android:name="android.intent.action.MAIN"/>
1516

16-
<category android:name="android.intent.category.LAUNCHER" />
17+
<category android:name="android.intent.category.LAUNCHER"/>
1718
</intent-filter>
1819
</activity>
1920
</application>

samples/tutorial/tutorial-base/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ plugins {
44
}
55

66
android {
7-
compileSdkVersion 31
7+
compileSdk = 32
88

99
defaultConfig {
1010
applicationId "workflow.tutorial"
11-
minSdkVersion 21
12-
targetSdkVersion 30
11+
minSdk = 21
12+
targetSdk = 32
1313
versionCode 1
1414
versionName "1.0"
1515

@@ -23,6 +23,7 @@ android {
2323
kotlinOptions {
2424
jvmTarget = '1.8'
2525
}
26+
namespace 'workflow.tutorial'
2627
}
2728

2829
dependencies {

0 commit comments

Comments
 (0)