File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,10 +13,11 @@ jobs:
1313 - uses : actions/setup-ruby@v1
1414 with :
1515 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
1818 with :
19- java-version : 1.11
19+ distribution : ' zulu'
20+ java-version : ' 11'
2021 - name : Build & run unit tests
2122 shell : bash
2223 run : ./gradlew --continue build testRelease
Original file line number Diff line number Diff line change @@ -10,10 +10,11 @@ jobs:
1010 runs-on : [ ubuntu-latest ]
1111 steps :
1212 - 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
1515 with :
16- java-version : 1.11
16+ distribution : ' zulu'
17+ java-version : ' 11'
1718 - name : Run unit tests
1819 shell : bash
1920 run : ./gradlew --continue build testRelease
Original file line number Diff line number Diff line change @@ -12,10 +12,11 @@ jobs:
1212 - uses : actions/setup-ruby@v1
1313 with :
1414 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
1717 with :
18- java-version : 1.11
18+ distribution : ' zulu'
19+ java-version : ' 11'
1920 - name : Run Lint Check
2021 shell : bash
2122 run : ./gradlew lintCheck
Original file line number Diff line number Diff line change 11object ProjectSettings {
22 const val applicationId = " app.futured.donut"
3- const val targetSdk = 29
3+ const val targetSdk = 31
44 const val minSdkLibrary = 19
55 const val minSdkLibraryCompose = 21
66 const val minSdkSample = 21
7- const val minSdk = 21
87}
Original file line number Diff line number Diff line change 11object Versions {
22 // gradle
3- const val gradle = " 7.0.0-alpha12 "
3+ const val gradle = " 7.0.3 "
44
55 // kotlin
6- const val kotlin = " 1.4.32 "
6+ const val kotlin = " 1.5.31 "
77
88 // plugins
99 const val detekt = " 1.4.0"
@@ -13,10 +13,10 @@ object Versions {
1313 const val dokka = " 1.4.20"
1414
1515 // androidx
16- const val appCompat = " 1.3.0-beta01 "
16+ const val appCompat = " 1.3.1 "
1717 const val constraintLayout = " 1.1.3"
1818 const val ktx = " 1.1.0"
1919
2020 // Jetpack Compose
21- const val jetpackCompose = " 1.0.0-beta04 "
21+ const val jetpackCompose = " 1.0.4 "
2222}
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22distributionPath =wrapper/dists
33zipStoreBase =GRADLE_USER_HOME
44zipStorePath =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 {
77}
88
99android {
10- compileSdkVersion( ProjectSettings .targetSdk)
10+ compileSdk = ProjectSettings .targetSdk
1111
1212 defaultConfig {
13- minSdkVersion( ProjectSettings .minSdkLibraryCompose)
14- targetSdkVersion( ProjectSettings .targetSdk)
13+ minSdk = ProjectSettings .minSdkLibraryCompose
14+ targetSdk = ProjectSettings .targetSdk
1515 }
1616
1717 sourceSets {
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ plugins {
77}
88
99android {
10- compileSdkVersion( ProjectSettings .targetSdk)
10+ compileSdk = ProjectSettings .targetSdk
1111
1212 defaultConfig {
13- minSdkVersion( ProjectSettings .minSdkLibrary)
14- targetSdkVersion( ProjectSettings .targetSdk)
13+ minSdk = ProjectSettings .minSdkLibrary
14+ targetSdk = ProjectSettings .targetSdk
1515 }
1616
1717 sourceSets {
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ plugins {
66}
77
88android {
9- compileSdkVersion( ProjectSettings .targetSdk)
9+ compileSdk = ProjectSettings .targetSdk
1010
1111 defaultConfig {
1212 applicationId = ProjectSettings .applicationId
13- minSdkVersion( ProjectSettings .minSdk)
14- targetSdkVersion( ProjectSettings .targetSdk)
13+ minSdk = ProjectSettings .minSdkSample
14+ targetSdk = ProjectSettings .targetSdk
1515 versionCode = 1
1616 }
1717
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3+ xmlns : tools =" http://schemas.android.com/tools"
34 package =" app.futured.donutsample" >
45
56 <application
1213
1314 <activity
1415 android : name =" .ui.main.MainActivity"
15- android : screenOrientation =" portrait" >
16+ android : exported =" true"
17+ android : screenOrientation =" portrait"
18+ tools : ignore =" LockedOrientationActivity" >
1619 <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" />
1922
20- <category android : name =" android.intent.category.LAUNCHER" />
23+ <category android : name =" android.intent.category.LAUNCHER" />
2124 </intent-filter >
2225 </activity >
2326
24- <activity android : name =" .ui.playground.PlaygroundActivity" />
27+ <activity android : name =" .ui.playground.PlaygroundActivity" />
2528
26- <activity android : name =" .ui.playground.compose.PlaygroundComposeActivity" />
29+ <activity android : name =" .ui.playground.compose.PlaygroundComposeActivity" />
2730 </application >
2831
2932</manifest >
You can’t perform that action at this time.
0 commit comments