Skip to content

Commit

Permalink
Merge pull request #25 from YAPP-Github/feature/issue-008-github-action
Browse files Browse the repository at this point in the history
[ISSUE-008] Github Actions 적용
  • Loading branch information
hoyahozz authored May 28, 2022
2 parents 0e659cc + 1cc9d2d commit b5f80c5
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 75 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Android CI

on:
pull_request:
branches: [ develop ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build

This file was deleted.

17 changes: 0 additions & 17 deletions app/src/test/java/com/yapp/growth/ExampleUnitTest.kt

This file was deleted.

6 changes: 3 additions & 3 deletions buildSrc/src/main/java/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ object Versions {
const val coilVersion = "1.4.0"
const val lifecycleVersion = "2.4.1"
const val junitVersion = "4.13.2"
const val kotlinCoroutine = "1.5.1"
const val retrofit = "2.7.1"
const val okhttp = "4.3.1"
const val kotlinCoroutineVersion = "1.5.1"
const val retrofitVersion = "2.7.1"
const val okhttpVersion = "4.3.1"
}
14 changes: 7 additions & 7 deletions buildSrc/src/main/java/app/AppDependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ object AppDependencies {
DependencyInfo("androidx.core:core-ktx", Versions.androidCoreVersion, Method.IMPLEMENTATION),
DependencyInfo("androidx.appcompat:appcompat", Versions.androidAppCompatVersion, Method.IMPLEMENTATION),
DependencyInfo("androidx.constraintlayout:constraintlayout", Versions.constraintlayoutVersion, Method.IMPLEMENTATION),
DependencyInfo("junit:junit", Versions.androidAppCompatVersion, Method.TESTIMPLEMENTATION)
DependencyInfo("junit:junit", Versions.junitVersion, Method.TESTIMPLEMENTATION)
)

val composeDependencies = arrayOf(
Expand All @@ -24,17 +24,17 @@ object AppDependencies {
)

val coroutineDependencies = arrayOf(
DependencyInfo("org.jetbrains.kotlinx:kotlinx-coroutines-core", Versions.kotlinCoroutine, Method.IMPLEMENTATION),
DependencyInfo("org.jetbrains.kotlinx:kotlinx-coroutines-android", Versions.kotlinCoroutine, Method.IMPLEMENTATION)
DependencyInfo("org.jetbrains.kotlinx:kotlinx-coroutines-core", Versions.kotlinCoroutineVersion, Method.IMPLEMENTATION),
DependencyInfo("org.jetbrains.kotlinx:kotlinx-coroutines-android", Versions.kotlinCoroutineVersion, Method.IMPLEMENTATION)
)

val retrofitDependencies = arrayOf(
DependencyInfo("com.squareup.retrofit2:retrofit", Versions.retrofit, Method.IMPLEMENTATION),
DependencyInfo("com.squareup.retrofit2:converter-gson", Versions.retrofit, Method.IMPLEMENTATION)
DependencyInfo("com.squareup.retrofit2:retrofit", Versions.retrofitVersion, Method.IMPLEMENTATION),
DependencyInfo("com.squareup.retrofit2:converter-gson", Versions.retrofitVersion, Method.IMPLEMENTATION)
)

val okhttpDependencies = arrayOf(
DependencyInfo("com.squareup.okhttp3:okhttp", Versions.okhttp, Method.IMPLEMENTATION),
DependencyInfo("com.squareup.okhttp3:logging-interceptor", Versions.okhttp, Method.IMPLEMENTATION)
DependencyInfo("com.squareup.okhttp3:okhttp", Versions.okhttpVersion, Method.IMPLEMENTATION),
DependencyInfo("com.squareup.okhttp3:logging-interceptor", Versions.okhttpVersion, Method.IMPLEMENTATION)
)
}

This file was deleted.

0 comments on commit b5f80c5

Please sign in to comment.