Skip to content

Commit

Permalink
[kuring-161] projectDependencyGraph 태스크 추가하기 (#150)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
renovate[bot] authored and l2hyunwoo committed May 15, 2024
1 parent 99387b1 commit 2bc0b02
Show file tree
Hide file tree
Showing 115 changed files with 1,661 additions and 2,391 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/add_reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@v1.2.1
- uses: kentaro-m/auto-assign-action@v2.0.0
4 changes: 2 additions & 2 deletions .github/workflows/android-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:

# Upload AAB
- name: Upload a Build AAB Artifact
uses: actions/upload-artifact@v3.0.0
uses: actions/upload-artifact@v4.3.1
with:
# Artifact name
name: app-release.aab
Expand All @@ -65,7 +65,7 @@ jobs:

# Upload APK
- name: Upload a Build APK Artifact
uses: actions/upload-artifact@v3.0.0
uses: actions/upload-artifact@v4.3.1
with:
# Artifact name
name: app-release.apk
Expand Down
2 changes: 1 addition & 1 deletion .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,23 @@ https://play.google.com/store/apps/details?id=com.ku_stacks.ku_ring

<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%"/>

## Module Graph 생성 방법

```shell
# macOS 기준
# 1. 그래프를 시각화하는 오픈소스 설치
brew install graphviz

# 그래프 생성 Gradle Task 실행
./gradlew projectDependencyGraph

# windows
# 설치: https://graphviz.org/download/

# 그래프 생성 Gradle Task 실행
gradlew projectDependencyGraph
```

## Version Updates

### v.1.2.3
Expand Down
167 changes: 0 additions & 167 deletions app/build.gradle

This file was deleted.

120 changes: 120 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
import java.io.FileInputStream
import java.util.Properties

plugins {
kuring("application")
kuringPrimitive("test")
id("com.google.gms.google-services")
id("com.google.firebase.crashlytics")
id("com.google.android.gms.oss-licenses-plugin")
}

val keystorePropertiesFile = rootProject.file("app/signing/keystore.properties")
val localPropertiesFile = rootProject.file("local.properties")

android {
namespace = "com.ku_stacks.ku_ring"
testOptions {
unitTests {
isIncludeAndroidResources = true
}
}
signingConfigs {
create("release") {
if (keystorePropertiesFile.exists()) {
val keystoreProperties = Properties()
keystoreProperties.load(FileInputStream(keystorePropertiesFile))

storeFile = File(keystoreProperties["storeFile"] as? String ?: "")
keyAlias = keystoreProperties["keyAlias"] as? String ?: ""
keyPassword = keystoreProperties["keyPassword"] as? String ?: ""
storePassword = keystoreProperties["storePassword"] as? String ?: ""
}
}
}

defaultConfig {
applicationId = "com.ku_stacks.ku_ring"

val localProperties = Properties()
localProperties.load(FileInputStream(localPropertiesFile))

buildConfigField(
"String",
"APPS_FLYER_DEV_KEY",
localProperties["APPS_FLYER_DEV_KEY"] as? String ?: ""
)
buildConfigField(
"String",
"SENDBIRD_APP_ID",
localProperties["SENDBIRD_APP_ID"] as? String ?: ""
)
buildConfigField(
"String",
"SENDBIRD_API_TOKEN",
localProperties["SENDBIRD_API_TOKEN"] as? String ?: ""
)
javaCompileOptions {
annotationProcessorOptions {
arguments(mapOf("room.schemaLocation" to "$projectDir/schemas"))
}
}
}
sourceSets {
getByName("androidTest") {
assets.srcDirs(files("$projectDir/schemas"))
}
}
buildTypes {
debug {
isMinifyEnabled = false
manifestPlaceholders.putAll(
mapOf(
"appName" to "@string/app_name_debug",
"appIcon" to "@drawable/ic_ku_ring_launcher_dev"
)
)
applicationIdSuffix = ".debug"
}
release {
isDebuggable = false
signingConfig = signingConfigs.getByName("release")
manifestPlaceholders.putAll(
mapOf(
"appName" to "@string/app_name",
"appIcon" to "@drawable/ic_ku_ring_launcher"
)
)
}
}
lint {
disable.add("Instantiatable")
}
}

dependencies {
implementation(projects.common.util)
implementation(projects.common.uiUtil)
implementation(projects.common.thirdparty)
implementation(projects.data.domain)
implementation(projects.feature.editDepartments)
implementation(projects.feature.editSubscription)
implementation(projects.feature.feedback)
implementation(projects.feature.myNotification)
implementation(projects.feature.noticeDetail)
implementation(projects.feature.notion)
implementation(projects.feature.onboarding)
implementation(projects.feature.splash)
implementation(projects.feature.main)

implementation(libs.androidx.startup.runtime)
testImplementation(libs.kotlinx.coroutines.test)
implementation(libs.play.services.oss.licenses)
implementation(libs.bundles.androidx.work)
debugImplementation(libs.leakcanary.android)
implementation(libs.play.services.auth)
}

kapt {
correctErrorTypes = true
}
2 changes: 1 addition & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
# proguardFiles setting in build.gradle.kts.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
Expand Down

This file was deleted.

Loading

0 comments on commit 2bc0b02

Please sign in to comment.