File tree 10 files changed +36
-31
lines changed
10 files changed +36
-31
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,11 @@ jobs:
13
13
- uses : actions/setup-ruby@v1
14
14
with :
15
15
ruby-version : ' 2.6'
16
- - name : Set up JDK 1.11
17
- uses : actions/setup-java@v1
16
+ - name : set up JDK
17
+ uses : actions/setup-java@v2
18
18
with :
19
- java-version : 1.11
19
+ distribution : ' zulu'
20
+ java-version : ' 11'
20
21
- name : Build & run unit tests
21
22
shell : bash
22
23
run : ./gradlew --continue build testRelease
Original file line number Diff line number Diff line change @@ -10,10 +10,11 @@ jobs:
10
10
runs-on : [ ubuntu-latest ]
11
11
steps :
12
12
- uses : actions/checkout@v1
13
- - name : Set up JDK 1.11
14
- uses : actions/setup-java@v1
13
+ - name : set up JDK
14
+ uses : actions/setup-java@v2
15
15
with :
16
- java-version : 1.11
16
+ distribution : ' zulu'
17
+ java-version : ' 11'
17
18
- name : Run unit tests
18
19
shell : bash
19
20
run : ./gradlew --continue build testRelease
Original file line number Diff line number Diff line change @@ -12,10 +12,11 @@ jobs:
12
12
- uses : actions/setup-ruby@v1
13
13
with :
14
14
ruby-version : ' 2.6'
15
- - name : set up JDK 1.11
16
- uses : actions/setup-java@v1
15
+ - name : set up JDK
16
+ uses : actions/setup-java@v2
17
17
with :
18
- java-version : 1.11
18
+ distribution : ' zulu'
19
+ java-version : ' 11'
19
20
- name : Run Lint Check
20
21
shell : bash
21
22
run : ./gradlew lintCheck
Original file line number Diff line number Diff line change 1
1
object ProjectSettings {
2
2
const val applicationId = " app.futured.donut"
3
- const val targetSdk = 29
3
+ const val targetSdk = 31
4
4
const val minSdkLibrary = 19
5
5
const val minSdkLibraryCompose = 21
6
6
const val minSdkSample = 21
7
- const val minSdk = 21
8
7
}
Original file line number Diff line number Diff line change 1
1
object Versions {
2
2
// gradle
3
- const val gradle = " 7.0.0-alpha12 "
3
+ const val gradle = " 7.0.3 "
4
4
5
5
// kotlin
6
- const val kotlin = " 1.4.32 "
6
+ const val kotlin = " 1.5.31 "
7
7
8
8
// plugins
9
9
const val detekt = " 1.4.0"
@@ -13,10 +13,10 @@ object Versions {
13
13
const val dokka = " 1.4.20"
14
14
15
15
// androidx
16
- const val appCompat = " 1.3.0-beta01 "
16
+ const val appCompat = " 1.3.1 "
17
17
const val constraintLayout = " 1.1.3"
18
18
const val ktx = " 1.1.0"
19
19
20
20
// Jetpack Compose
21
- const val jetpackCompose = " 1.0.0-beta04 "
21
+ const val jetpackCompose = " 1.0.4 "
22
22
}
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
3
zipStoreBase =GRADLE_USER_HOME
4
4
zipStorePath =wrapper/dists
5
- distributionUrl =https\://services.gradle.org/distributions/gradle-6.8.2 -bin.zip
5
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.1.1 -bin.zip
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ plugins {
7
7
}
8
8
9
9
android {
10
- compileSdkVersion( ProjectSettings .targetSdk)
10
+ compileSdk = ProjectSettings .targetSdk
11
11
12
12
defaultConfig {
13
- minSdkVersion( ProjectSettings .minSdkLibraryCompose)
14
- targetSdkVersion( ProjectSettings .targetSdk)
13
+ minSdk = ProjectSettings .minSdkLibraryCompose
14
+ targetSdk = ProjectSettings .targetSdk
15
15
}
16
16
17
17
sourceSets {
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ plugins {
7
7
}
8
8
9
9
android {
10
- compileSdkVersion( ProjectSettings .targetSdk)
10
+ compileSdk = ProjectSettings .targetSdk
11
11
12
12
defaultConfig {
13
- minSdkVersion( ProjectSettings .minSdkLibrary)
14
- targetSdkVersion( ProjectSettings .targetSdk)
13
+ minSdk = ProjectSettings .minSdkLibrary
14
+ targetSdk = ProjectSettings .targetSdk
15
15
}
16
16
17
17
sourceSets {
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ plugins {
6
6
}
7
7
8
8
android {
9
- compileSdkVersion( ProjectSettings .targetSdk)
9
+ compileSdk = ProjectSettings .targetSdk
10
10
11
11
defaultConfig {
12
12
applicationId = ProjectSettings .applicationId
13
- minSdkVersion( ProjectSettings .minSdk)
14
- targetSdkVersion( ProjectSettings .targetSdk)
13
+ minSdk = ProjectSettings .minSdkSample
14
+ targetSdk = ProjectSettings .targetSdk
15
15
versionCode = 1
16
16
}
17
17
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ xmlns : tools =" http://schemas.android.com/tools"
3
4
package =" app.futured.donutsample" >
4
5
5
6
<application
12
13
13
14
<activity
14
15
android : name =" .ui.main.MainActivity"
15
- android : screenOrientation =" portrait" >
16
+ android : exported =" true"
17
+ android : screenOrientation =" portrait"
18
+ tools : ignore =" LockedOrientationActivity" >
16
19
<intent-filter >
17
- <action android : name =" android.intent.action.MAIN" />
18
- <action android : name =" android.intent.action.VIEW" />
20
+ <action android : name =" android.intent.action.MAIN" />
21
+ <action android : name =" android.intent.action.VIEW" />
19
22
20
- <category android : name =" android.intent.category.LAUNCHER" />
23
+ <category android : name =" android.intent.category.LAUNCHER" />
21
24
</intent-filter >
22
25
</activity >
23
26
24
- <activity android : name =" .ui.playground.PlaygroundActivity" />
27
+ <activity android : name =" .ui.playground.PlaygroundActivity" />
25
28
26
- <activity android : name =" .ui.playground.compose.PlaygroundComposeActivity" />
29
+ <activity android : name =" .ui.playground.compose.PlaygroundComposeActivity" />
27
30
</application >
28
31
29
32
</manifest >
You can’t perform that action at this time.
0 commit comments