Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

릴리즈 0.0.1 #176

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
966fb13
data 모듈에서 local 모듈 분리
100Seung-Min Oct 16, 2023
3acd649
data 모듈에서 remote 모듈 분리
100Seung-Min Oct 16, 2023
98559f6
build 오류 수정
100Seung-Min Oct 16, 2023
d5d292d
di 모듈 별로 세팅
100Seung-Min Oct 16, 2023
cf59b8e
exoPlayer Library 교체
100Seung-Min Oct 16, 2023
8ed38c7
exoPlayerTvPlayer 구현
100Seung-Min Oct 16, 2023
4f6f380
itemFocusing 문제 해결
100Seung-Min Oct 16, 2023
da6ad0b
Merge pull request #167 from Dan-Bam/feature/tv_controller
100Seung-Min Oct 17, 2023
3eabdcb
배우 / 감독 등록 API 작성
100Seung-Min Oct 17, 2023
37027c7
배우 / 감독 등록에 필요한 string 추가
100Seung-Min Oct 17, 2023
5d8e8aa
main 페이지 배우 / 감독 등록 버튼 구현
100Seung-Min Oct 17, 2023
bdc1ac7
감독 / 등록 페이지 이동 및 navigation key 수정
100Seung-Min Oct 17, 2023
760249e
actorType에서 peopleType으로 컬럼명 변경
100Seung-Min Oct 17, 2023
5922e31
감독 / 배우 등록 API 연결
100Seung-Min Oct 17, 2023
4ba0521
출연작품 API 작성
100Seung-Min Oct 17, 2023
9a3c201
독일어, 베트남어, 러시아어 추가
100Seung-Min Oct 17, 2023
e5628b0
출연작품 API 연결
100Seung-Min Oct 17, 2023
43aaa16
불필요한 enter 제거
100Seung-Min Oct 17, 2023
3469834
Merge pull request #170 from Dan-Bam/feature/actor_connect
100Seung-Min Oct 17, 2023
2162404
app단 gradle remote모듈 추가
100Seung-Min Oct 17, 2023
b926a6f
proguard remote request/response 난독화 규칙 설정
100Seung-Min Oct 17, 2023
6213ced
tv logo 변경
100Seung-Min Oct 17, 2023
27decdb
change project name
100Seung-Min Oct 18, 2023
e7fc4b4
file util 수정
100Seung-Min Oct 18, 2023
c4c9589
request 이름 수정
100Seung-Min Oct 18, 2023
9a8788b
tv banner 변경
100Seung-Min Oct 18, 2023
06d2b00
로그인시 비밀번호 transformation 변경
100Seung-Min Oct 18, 2023
a1ff91a
Merge pull request #172 from Dan-Bam/feature/setting_proguard
100Seung-Min Oct 18, 2023
7d7d069
로딩 바 구현
100Seung-Min Oct 19, 2023
a79cb6c
background에 로딩바 구현
100Seung-Min Oct 19, 2023
911a046
로딩 기능 구현
100Seung-Min Oct 19, 2023
1469e34
ui 모듈 분리
100Seung-Min Oct 19, 2023
8f20b8d
ui 모듈 적용
100Seung-Min Oct 19, 2023
2c7c94d
gradle 최신 버전 업데이트
100Seung-Min Oct 19, 2023
683e2e2
kapt ksp로 전환
100Seung-Min Oct 19, 2023
ff7bcf7
CI/CD github jdk version upgrade
100Seung-Min Oct 19, 2023
28263fd
Merge pull request #175 from Dan-Bam/feature/upload_loading
100Seung-Min Oct 19, 2023
9163fda
proguard 에러 해결
100Seung-Min Oct 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
with:
fetch-depth: 0

- name: Setup JDK 11
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: 11
java-version: 17

- name: Setup Android SDK
uses: android-actions/setup-android@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
with:
fetch-depth: 0

- name: Setup JDK 11
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: 11
java-version: 17

- name: Setup Android SDK
uses: android-actions/setup-android@v2
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.

4 changes: 3 additions & 1 deletion .idea/gradle.xml

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

2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

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

10 changes: 5 additions & 5 deletions app/mobile/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
# hide the original source file name.
#-renamesourcefileattribute SourceFile

-keep class com.danbam.data.** {*;}
-keep interface com.danbam.data.** {*;}

-keep class com.danbam.domain.** {*;}
-keep interface com.danbam.domain.** {*;}
-keep class com.danbam.indistraw.core.remote.request.** {*;}
-keep class com.danbam.indistraw.core.remote.response.** {*;}
-dontwarn org.conscrypt.**
-dontwarn org.bouncycastle.**
-dontwarn org.openjsse.**
2 changes: 1 addition & 1 deletion app/mobile/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.danbam.mobile">
package="com.danbam.indistraw.app.mobile">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
Expand Down
8 changes: 7 additions & 1 deletion app/tv/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,10 @@

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#-renamesourcefileattribute SourceFile

-keep class com.danbam.indistraw.core.remote.request.** {*;}
-keep class com.danbam.indistraw.core.remote.response.** {*;}
-dontwarn org.conscrypt.**
-dontwarn org.bouncycastle.**
-dontwarn org.openjsse.**
3 changes: 2 additions & 1 deletion app/tv/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.danbam.indistraw.app.tv">

<uses-permission android:name="android.permission.INTERNET" />

Expand Down
Binary file added app/tv/src/main/ic_launcher-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/tv/src/main/res/drawable/ic_app.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/tv/src/main/res/drawable/ic_app.png
Binary file not shown.
5 changes: 5 additions & 0 deletions app/tv/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/tv/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
Binary file modified app/tv/src/main/res/mipmap-hdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified app/tv/src/main/res/mipmap-mdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified app/tv/src/main/res/mipmap-xhdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified app/tv/src/main/res/mipmap-xxhdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified app/tv/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions app/tv/src/main/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#020202</color>
</resources>
7 changes: 1 addition & 6 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@ plugins {
`kotlin-dsl-precompiled-script-plugins`
}

val compileKotlin: org.jetbrains.kotlin.gradle.tasks.KotlinCompile by tasks
compileKotlin.kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
languageVersion = libs.versions.gradleKotlin.get()
}

dependencies {
implementation(libs.plugin.android)
implementation(libs.plugin.hilt)
implementation(libs.plugin.kotlin)
implementation(libs.plugin.ksp)
}
19 changes: 8 additions & 11 deletions buildSrc/src/main/kotlin/indistraw-app.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ val libs = versionCatalog.named("libs")
plugins {
id("com.android.application")
id("kotlin-android")
id("kotlin-kapt")
id("dagger.hilt.android.plugin")
id("com.google.devtools.ksp")
}

android {
Expand All @@ -19,13 +19,14 @@ android {
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
jvmTarget = JavaVersion.VERSION_17.toString()
}
buildFeatures {
buildConfig = true
compose = true
}
composeOptions {
Expand Down Expand Up @@ -59,18 +60,14 @@ android {
}

dependencies {
implementation(project(":core:di"))
implementation(project(":core:domain"))
implementation(project(":core:data"))
implementation(project(":core:remote"))
implementation(project(":core:design-system"))
implementation(libs.findLibrary("androidx.core").get())
implementation(libs.findLibrary("androidx.lifecycle").get())
implementation(libs.findBundle("coroutine").get())
implementation(libs.findBundle("compose").get())
implementation(libs.findLibrary("accompanist.nav").get())
implementation(libs.findLibrary("hilt").get())
kapt(libs.findLibrary("hilt.compiler").get())
implementation(libs.findBundle("orbit").get())
implementation(libs.findLibrary("coil").get())
ksp(libs.findLibrary("hilt.compiler").get())
debugImplementation(libs.findBundle("compose.debug").get())
androidTestImplementation(libs.findLibrary("compose.test").get())
}
21 changes: 17 additions & 4 deletions buildSrc/src/main/kotlin/indistraw-core.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ val libs = versionCatalog.named("libs")
plugins {
id("com.android.library")
id("org.jetbrains.kotlin.android")
id("kotlin-kapt")
id("dagger.hilt.android.plugin")
id("com.google.devtools.ksp")
}

android {
Expand All @@ -14,11 +15,23 @@ android {
minSdk = libs.findVersion("minSdk").get().requiredVersion.toInt()
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildFeatures {
buildConfig = true
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
jvmTarget = JavaVersion.VERSION_17.toString()
}
}

dependencies {
implementation(libs.findLibrary("inject").get())
implementation(libs.findLibrary("hilt").get())
ksp(libs.findLibrary("hilt.compiler").get())
testImplementation(libs.findLibrary("test.junit").get())
testImplementation(libs.findLibrary("test.mockito.kotlin").get())
testImplementation(libs.findLibrary("test.mockito.inline").get())
}
12 changes: 7 additions & 5 deletions buildSrc/src/main/kotlin/indistraw-feature.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ val libs = versionCatalog.named("libs")

plugins {
id("com.android.library")
id("kotlin-kapt")
id("kotlin-android")
id("dagger.hilt.android.plugin")
id("com.google.devtools.ksp")
}

android {
Expand All @@ -16,13 +16,14 @@ android {
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
jvmTarget = JavaVersion.VERSION_17.toString()
}
buildFeatures {
buildConfig = true
compose = true
}
composeOptions {
Expand All @@ -36,13 +37,14 @@ android {
dependencies {
implementation(project(":core:domain"))
implementation(project(":core:design-system"))
implementation(project(":core:ui"))
implementation(libs.findLibrary("androidx.core").get())
implementation(libs.findLibrary("androidx.lifecycle").get())
implementation(libs.findBundle("coroutine").get())
implementation(libs.findBundle("compose").get())
implementation(libs.findLibrary("accompanist.nav").get())
implementation(libs.findLibrary("hilt").get())
kapt(libs.findLibrary("hilt.compiler").get())
ksp(libs.findLibrary("hilt.compiler").get())
implementation(libs.findBundle("orbit").get())
implementation(libs.findLibrary("coil").get())
debugImplementation(libs.findBundle("compose.debug").get())
Expand Down
16 changes: 3 additions & 13 deletions core/data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,14 @@ android {
"PATCH_IGNORE_PATH",
gradleLocalProperties(rootDir).getProperty("PATCH_IGNORE_PATH")
)
buildConfigField(
"String",
"JUSO_KEY",
gradleLocalProperties(rootDir).getProperty("JUSO_KEY")
)
}
}

dependencies {
implementation(project(":core:remote"))
implementation(project(":core:local"))
implementation(project(":core:domain"))
implementation(libs.inject)
implementation(libs.room)
kapt(libs.room.compiler)
implementation(libs.paging)
implementation(libs.bundles.retrofit)
implementation(libs.bundles.okhttp)
testImplementation(libs.okhttp.sse)
implementation(libs.paging)
testImplementation(libs.test.junit)
testImplementation(libs.test.mockito.kotlin)
testImplementation(libs.test.mockito.inline)
}
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
package com.danbam.indistraw.core.di
package com.danbam.indistraw.core.data.di

import android.content.Context
import com.danbam.indistraw.core.data.remote.api.AccountAPI
import com.danbam.indistraw.core.data.remote.api.AddressAPI
import com.danbam.indistraw.core.data.remote.api.AuthAPI
import com.danbam.indistraw.core.data.remote.api.BannerAPI
import com.danbam.indistraw.core.data.remote.api.CrowdFundingAPI
import com.danbam.indistraw.core.data.remote.api.FileAPI
import com.danbam.indistraw.core.data.remote.api.FundingAPI
import com.danbam.indistraw.core.data.remote.api.MovieAPI
import com.danbam.indistraw.core.data.remote.api.QRCodeAPI
import com.danbam.indistraw.core.data.remote.api.SearchAPI
import com.danbam.indistraw.core.data.remote.interceptor.IndiStrawInterceptor
import com.danbam.indistraw.core.data.BuildConfig
import com.danbam.indistraw.core.remote.api.AccountAPI
import com.danbam.indistraw.core.remote.api.AddressAPI
import com.danbam.indistraw.core.remote.api.AuthAPI
import com.danbam.indistraw.core.remote.api.BannerAPI
import com.danbam.indistraw.core.remote.api.CrowdFundingAPI
import com.danbam.indistraw.core.remote.api.FileAPI
import com.danbam.indistraw.core.remote.api.FundingAPI
import com.danbam.indistraw.core.remote.api.MovieAPI
import com.danbam.indistraw.core.remote.api.QRCodeAPI
import com.danbam.indistraw.core.remote.api.SearchAPI
import com.danbam.indistraw.core.data.interceptor.IndiStrawInterceptor
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.danbam.indistraw.core.di
package com.danbam.indistraw.core.data.di

import com.danbam.indistraw.core.data.repository.AccountRepositoryImpl
import com.danbam.indistraw.core.data.repository.AddressRepositoryImpl
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.danbam.indistraw.core.data.remote.interceptor
package com.danbam.indistraw.core.data.interceptor

import android.content.Context
import android.net.ConnectivityManager
import android.net.NetworkInfo
import com.danbam.indistraw.core.data.BuildConfig
import com.danbam.indistraw.core.data.local.datasource.AuthLocalDataSource
import com.danbam.indistraw.core.data.remote.response.auth.LoginResponse
import com.danbam.indistraw.core.data.util.default
import com.danbam.indistraw.core.local.datasource.AuthLocalDataSource
import com.danbam.indistraw.core.domain.exception.ExpiredTokenException
import com.danbam.indistraw.core.remote.response.auth.LoginResponse
import com.danbam.indistraw.core.remote.util.default
import com.google.gson.Gson
import okhttp3.Interceptor
import okhttp3.MediaType.Companion.toMediaTypeOrNull
Expand Down

This file was deleted.

Loading