Skip to content

Commit a3b70ac

Browse files
committed
update
1 parent 562aed6 commit a3b70ac

File tree

7 files changed

+43
-11
lines changed

7 files changed

+43
-11
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Gradle version checker
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
schedule:
8+
# Runs at 01:00 UTC on the 1, 8, 15, 22 and 29th of every month.
9+
- cron: '0 1 */7 * *'
10+
11+
jobs:
12+
gradle-versions-checker:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
18+
- name: Set up JDK
19+
uses: actions/setup-java@v2
20+
with:
21+
distribution: 'zulu'
22+
java-version: '11'
23+
24+
- name: Make gradlew executable
25+
run: chmod +x ./gradlew
26+
27+
- name: Dependency updates
28+
run: ./gradlew dependencyUpdates

.idea/compiler.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ buildscript {
1616
classpath("dev.ahmedmourad.nocopy:nocopy-gradle-plugin:1.4.0")
1717
classpath("org.jacoco:org.jacoco.core:0.8.7")
1818
classpath("com.vanniktech:gradle-android-junit-jacoco-plugin:0.17.0-SNAPSHOT")
19+
classpath("com.github.ben-manes:gradle-versions-plugin:0.39.0")
1920
}
2021
}
2122

2223
subprojects {
2324
apply(plugin = "com.diffplug.spotless")
2425
apply(plugin = "com.vanniktech.android.junit.jacoco")
26+
apply(plugin = "com.github.ben-manes.versions")
2527

2628
configure<com.diffplug.gradle.spotless.SpotlessExtension> {
2729
kotlin {

buildSrc/src/main/kotlin/deps.kt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@file:Suppress("unused", "ClassName", "SpellCheckingInspection")
22

33
import org.gradle.api.artifacts.dsl.DependencyHandler
4-
import org.gradle.kotlin.dsl.DependencyHandlerScope
54
import org.gradle.kotlin.dsl.project
65
import org.gradle.plugin.use.PluginDependenciesSpec
76
import org.gradle.plugin.use.PluginDependencySpec
@@ -16,9 +15,13 @@ object appConfig {
1615
const val buildToolsVersion = "31.0.0"
1716

1817
const val minSdkVersion = 21
19-
const val targetSdkVersion = 30
20-
const val versionCode = 1
21-
const val versionName = "1.0"
18+
const val targetSdkVersion = 31
19+
20+
private const val MAJOR = 2
21+
private const val MINOR = 0
22+
private const val PATCH = 0
23+
const val versionCode = MAJOR * 10000 + MINOR * 100 + PATCH
24+
const val versionName = "$MAJOR.$MINOR.$PATCH"
2225
}
2326

2427
object deps {

feature-main/src/main/AndroidManifest.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.hoc.flowmvi.ui.main">
3+
package="com.hoc.flowmvi.ui.main">
44

55
<application>
66

7-
<activity android:name=".MainActivity">
7+
<activity
8+
android:name=".MainActivity"
9+
android:exported="true">
810
<intent-filter>
911
<action android:name="android.intent.action.MAIN" />
1012

gradle.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,3 @@ kotlin.code.style=official
2929

3030
# Enable Kotlin incremental compilation
3131
kotlin.incremental=true
32-
33-
# Enable parallel tasks execution for Kotlin Gradle plugin
34-
kotlin.parallel.tasks.in.project=true

0 commit comments

Comments
 (0)