Skip to content

Commit 5ed2e1e

Browse files
renovate[bot]l2hyunwoo
authored andcommitted
[kuring-161] projectDependencyGraph 태스크 추가하기 (#150)
* kuring-161 projectDependencyGraph 태스크 추가하기 * [feature/kuring-161] Module Graph 생성 방법 README에 추가 Update dependency androidx.constraintlayout:constraintlayout to v2.1.4 (#152) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update dependency androidx.paging:paging-compose to v1.0.0-alpha20 (#153) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update actions/upload-artifact action to v3.1.3 (#163) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update kentaro-m/auto-assign-action action to v1.2.6 (#161) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update actions/checkout action to v4 (#193) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update dependency io.reactivex.rxjava3:rxjava to v3.1.8 (#182) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update dependency com.squareup.leakcanary:leakcanary-android to v2.13 (#179) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update dependency io.reactivex.rxjava3:rxandroid to v3.0.2 (#160) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update dependency com.airbnb.android:lottie-compose to v4.2.2 (#174) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update dependency com.squareup.okhttp3:okhttp-bom to v4.12.0 (#180) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update dependency org.mockito.kotlin:mockito-kotlin to v4.1.0 (#183) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update actions/setup-java action to v4 (#194) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update kentaro-m/auto-assign-action action to v2 (#202) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update actions/upload-artifact action to v4 (#195) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update kotlinx.coroutines to v1.8.0 (#189) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update dependency androidx.test.ext:junit to v1.1.5 (#156) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update dependency androidx.test:core to v1.5.0 (#173) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update dependency org.robolectric:robolectric to v4.12.1 (#184) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update mockito monorepo (#190) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update dependency androidx.test.espresso:espresso-core to v3.5.1 (#172) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update mockito monorepo to v5 (#203) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update dependency org.mockito.kotlin:mockito-kotlin to v5 (#201) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update dependency androidx.lifecycle:lifecycle-viewmodel-ktx to v2.7.0 (#171) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update dependency com.jakewharton.timber:timber to v5 (#200) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update paging to v3.2.1 (#162) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update dependency androidx.paging:paging-compose to v3 (#196) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 7b5d71a commit 5ed2e1e

File tree

115 files changed

+1661
-2391
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+1661
-2391
lines changed

.github/workflows/add_reviewer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ jobs:
77
add-reviews:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: kentaro-m/auto-assign-action@v1.2.1
10+
- uses: kentaro-m/auto-assign-action@v2.0.0

.github/workflows/android-develop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
# Steps represent a sequence of tasks that will be executed as part of the job
2323
steps:
2424
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
25-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v4
2626

2727
- name: set up JDK 17
28-
uses: actions/setup-java@v3
28+
uses: actions/setup-java@v4
2929
with:
3030
java-version: '17'
3131
distribution: 'temurin'

.github/workflows/android-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
2020
- name: set up JDK 17
21-
uses: actions/setup-java@v3
21+
uses: actions/setup-java@v4
2222
with:
2323
java-version: '17'
2424
distribution: 'temurin'
@@ -55,7 +55,7 @@ jobs:
5555

5656
# Upload AAB
5757
- name: Upload a Build AAB Artifact
58-
uses: actions/upload-artifact@v3.0.0
58+
uses: actions/upload-artifact@v4.3.1
5959
with:
6060
# Artifact name
6161
name: app-release.aab
@@ -65,7 +65,7 @@ jobs:
6565

6666
# Upload APK
6767
- name: Upload a Build APK Artifact
68-
uses: actions/upload-artifact@v3.0.0
68+
uses: actions/upload-artifact@v4.3.1
6969
with:
7070
# Artifact name
7171
name: app-release.apk

.idea/.name

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

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,23 @@ https://play.google.com/store/apps/details?id=com.ku_stacks.ku_ring
5252

5353
<img src="https://github.com/KU-Stacks/KU-Ring-Android/blob/main/preview/%EC%9C%A0%EB%8B%9B%20%ED%85%8C%EC%8A%A4%ED%8A%B8.JPG" width="90%"/>
5454

55+
## Module Graph 생성 방법
56+
57+
```shell
58+
# macOS 기준
59+
# 1. 그래프를 시각화하는 오픈소스 설치
60+
brew install graphviz
61+
62+
# 그래프 생성 Gradle Task 실행
63+
./gradlew projectDependencyGraph
64+
65+
# windows
66+
# 설치: https://graphviz.org/download/
67+
68+
# 그래프 생성 Gradle Task 실행
69+
gradlew projectDependencyGraph
70+
```
71+
5572
## Version Updates
5673

5774
### v.1.2.3

app/build.gradle

Lines changed: 0 additions & 167 deletions
This file was deleted.

app/build.gradle.kts

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
import java.io.FileInputStream
2+
import java.util.Properties
3+
4+
plugins {
5+
kuring("application")
6+
kuringPrimitive("test")
7+
id("com.google.gms.google-services")
8+
id("com.google.firebase.crashlytics")
9+
id("com.google.android.gms.oss-licenses-plugin")
10+
}
11+
12+
val keystorePropertiesFile = rootProject.file("app/signing/keystore.properties")
13+
val localPropertiesFile = rootProject.file("local.properties")
14+
15+
android {
16+
namespace = "com.ku_stacks.ku_ring"
17+
testOptions {
18+
unitTests {
19+
isIncludeAndroidResources = true
20+
}
21+
}
22+
signingConfigs {
23+
create("release") {
24+
if (keystorePropertiesFile.exists()) {
25+
val keystoreProperties = Properties()
26+
keystoreProperties.load(FileInputStream(keystorePropertiesFile))
27+
28+
storeFile = File(keystoreProperties["storeFile"] as? String ?: "")
29+
keyAlias = keystoreProperties["keyAlias"] as? String ?: ""
30+
keyPassword = keystoreProperties["keyPassword"] as? String ?: ""
31+
storePassword = keystoreProperties["storePassword"] as? String ?: ""
32+
}
33+
}
34+
}
35+
36+
defaultConfig {
37+
applicationId = "com.ku_stacks.ku_ring"
38+
39+
val localProperties = Properties()
40+
localProperties.load(FileInputStream(localPropertiesFile))
41+
42+
buildConfigField(
43+
"String",
44+
"APPS_FLYER_DEV_KEY",
45+
localProperties["APPS_FLYER_DEV_KEY"] as? String ?: ""
46+
)
47+
buildConfigField(
48+
"String",
49+
"SENDBIRD_APP_ID",
50+
localProperties["SENDBIRD_APP_ID"] as? String ?: ""
51+
)
52+
buildConfigField(
53+
"String",
54+
"SENDBIRD_API_TOKEN",
55+
localProperties["SENDBIRD_API_TOKEN"] as? String ?: ""
56+
)
57+
javaCompileOptions {
58+
annotationProcessorOptions {
59+
arguments(mapOf("room.schemaLocation" to "$projectDir/schemas"))
60+
}
61+
}
62+
}
63+
sourceSets {
64+
getByName("androidTest") {
65+
assets.srcDirs(files("$projectDir/schemas"))
66+
}
67+
}
68+
buildTypes {
69+
debug {
70+
isMinifyEnabled = false
71+
manifestPlaceholders.putAll(
72+
mapOf(
73+
"appName" to "@string/app_name_debug",
74+
"appIcon" to "@drawable/ic_ku_ring_launcher_dev"
75+
)
76+
)
77+
applicationIdSuffix = ".debug"
78+
}
79+
release {
80+
isDebuggable = false
81+
signingConfig = signingConfigs.getByName("release")
82+
manifestPlaceholders.putAll(
83+
mapOf(
84+
"appName" to "@string/app_name",
85+
"appIcon" to "@drawable/ic_ku_ring_launcher"
86+
)
87+
)
88+
}
89+
}
90+
lint {
91+
disable.add("Instantiatable")
92+
}
93+
}
94+
95+
dependencies {
96+
implementation(projects.common.util)
97+
implementation(projects.common.uiUtil)
98+
implementation(projects.common.thirdparty)
99+
implementation(projects.data.domain)
100+
implementation(projects.feature.editDepartments)
101+
implementation(projects.feature.editSubscription)
102+
implementation(projects.feature.feedback)
103+
implementation(projects.feature.myNotification)
104+
implementation(projects.feature.noticeDetail)
105+
implementation(projects.feature.notion)
106+
implementation(projects.feature.onboarding)
107+
implementation(projects.feature.splash)
108+
implementation(projects.feature.main)
109+
110+
implementation(libs.androidx.startup.runtime)
111+
testImplementation(libs.kotlinx.coroutines.test)
112+
implementation(libs.play.services.oss.licenses)
113+
implementation(libs.bundles.androidx.work)
114+
debugImplementation(libs.leakcanary.android)
115+
implementation(libs.play.services.auth)
116+
}
117+
118+
kapt {
119+
correctErrorTypes = true
120+
}

app/proguard-rules.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Add project specific ProGuard rules here.
22
# You can control the set of applied configuration files using the
3-
# proguardFiles setting in build.gradle.
3+
# proguardFiles setting in build.gradle.kts.
44
#
55
# For more details, see
66
# http://developer.android.com/guide/developing/tools/proguard.html

app/src/androidTest/java/com/ku_stacks/ku_ring/ExampleInstrumentedTest.kt

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)