diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml new file mode 100644 index 0000000..7f33840 --- /dev/null +++ b/.github/workflows/dev.yml @@ -0,0 +1,55 @@ +name: DEV 브랜치 배포하기 +on: + push: + branches: + - dev + paths: + - 'app/**' + - 'widget/**' + - 'fastlane/**' + - '.github/workflows/dev.yaml' +jobs: + deploy-dev: + runs-on: macos-latest + environment: development + steps: + - name: 브랜치 가져오기 + uses: actions/checkout@v2 + + - name: Ruby 설정하기 + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.6.10 + bundler-cache: true + + - name: JDK17 준비하기 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + + - name: Gradle 애드온 준비하기 + uses: gradle/gradle-build-action@v2 + + - name: 시크릿 파일 생성하기 + run: | + echo "$PLAYSTORE_SA" > play_keyfile.json && \ + echo "$GCP_FASTLANE_SA" > gcp_keyfile.json && \ + echo "$GENERIC_APP_SECRETS" > secrets.properties && \ + echo "$GOOGLE_SERVICES_JSON" > app/google-services.json && \ + echo "$APP_SIGNING_SECRET" > ./keystore.b64 && \ + base64 -d -i ./keystore.b64 > ./app/bbibbi_android + env: + PLAYSTORE_SA: ${{ secrets.PLAYSTORE_SA }} + GCP_FASTLANE_SA: ${{ secrets.GCP_FASTLANE_SA }} + GENERIC_APP_SECRETS: ${{ secrets.GENERIC_APP_SECRETS }} + GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }} + APP_SIGNING_SECRET: ${{ secrets.APP_SIGNING_SECRET }} + + - name: Fastlane 배포하기 + run: bundle exec fastlane deploy_dev + env: + FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }} + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + SERVICE_CREDENTIAL_FILE_PATH: gcp_keyfile.json + GOOGLE_CREDENTIAL_FILE_PATH: play_keyfile.json diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml new file mode 100644 index 0000000..b50ea0f --- /dev/null +++ b/.github/workflows/prod.yml @@ -0,0 +1,68 @@ +name: 프로덕션 빌드 +on: + pull_request: + branches: + - main + types: [ closed ] +jobs: + production-build: + runs-on: macos-latest + environment: production + steps: + - name: 브랜치 가져오기 + uses: actions/checkout@v2 + + - name: Ruby 설정하기 + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.6.10 + bundler-cache: true + + - name: JDK17 준비하기 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + + - name: Gradle 애드온 준비하기 + uses: gradle/gradle-build-action@v2 + + - name: 시크릿 파일 생성하기 + run: | + echo "$PLAYSTORE_SA" > play_keyfile.json && \ + echo "$GCP_FASTLANE_SA" > gcp_keyfile.json && \ + echo "$GENERIC_APP_SECRETS" > secrets.properties && \ + echo "$GOOGLE_SERVICES_JSON" > app/google-services.json && \ + echo "$APP_SIGNING_SECRET" > ./keystore.b64 && \ + base64 -d -i ./keystore.b64 > ./app/bbibbi_android + env: + PLAYSTORE_SA: ${{ secrets.PLAYSTORE_SA }} + GCP_FASTLANE_SA: ${{ secrets.GCP_FASTLANE_SA }} + GENERIC_APP_SECRETS: ${{ secrets.GENERIC_APP_SECRETS }} + GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }} + APP_SIGNING_SECRET: ${{ secrets.APP_SIGNING_SECRET }} + + - name: Fastlane 배포하기 + run: bundle exec fastlane deploy_production + env: + FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }} + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + SERVICE_CREDENTIAL_FILE_PATH: gcp_keyfile.json + GOOGLE_CREDENTIAL_FILE_PATH: play_keyfile.json + + - name: 브랜치명 추출하기 + id: branch-name + uses: tj-actions/branch-names@v4.9 + + - name: 버전 정보 추출 + run: echo "TAG=$(echo '${{ steps.branch-name.outputs.current_branch }}' | egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}')" >> $GITHUB_ENV + id: extract_version_name + + - name: Release 생성 + if: github.event.pull_request.merged == true + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ env.TAG }} + release_name: ${{ env.TAG }} \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 808447c..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: 릴리즈 태그 만들기 -on: - pull_request: - branches: - - main - types: [ closed ] -jobs: - create-tag: - runs-on: ubuntu-latest - steps: - - name: 브랜치 가져오기 - uses: actions/checkout@v2 - - - name: 브랜치명 추출하기 - id: branch-name - uses: tj-actions/branch-names@v4.9 - - - name: 버전 정보 추출 - run: echo "TAG=$(echo '${{ steps.branch-name.outputs.current_branch }}' | egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}')" >> $GITHUB_ENV - id: extract_version_name - - - name: Release 생성 - if: github.event.pull_request.merged == true - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ env.TAG }} - release_name: ${{ env.TAG }} \ No newline at end of file diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml new file mode 100644 index 0000000..9cef734 --- /dev/null +++ b/.github/workflows/stage.yml @@ -0,0 +1,55 @@ +name: Release 브랜치 배포하기 +on: + push: + branches: + - release/** + paths: + - 'app/**' + - 'widget/**' + - 'fastlane/**' + - '.github/workflows/stage.yaml' +jobs: + deploy-stage: + runs-on: macos-latest + environment: internal-test + steps: + - name: 브랜치 가져오기 + uses: actions/checkout@v2 + + - name: Ruby 설정하기 + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.6.10 + bundler-cache: true + + - name: JDK17 준비하기 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + + - name: Gradle 애드온 준비하기 + uses: gradle/gradle-build-action@v2 + + - name: 시크릿 파일 생성하기 + run: | + echo "$PLAYSTORE_SA" > play_keyfile.json && \ + echo "$GCP_FASTLANE_SA" > gcp_keyfile.json && \ + echo "$GENERIC_APP_SECRETS" > secrets.properties && \ + echo "$GOOGLE_SERVICES_JSON" > app/google-services.json && \ + echo "$APP_SIGNING_SECRET" > ./keystore.b64 && \ + base64 -d -i ./keystore.b64 > ./app/bbibbi_android + env: + PLAYSTORE_SA: ${{ secrets.PLAYSTORE_SA }} + GCP_FASTLANE_SA: ${{ secrets.GCP_FASTLANE_SA }} + GENERIC_APP_SECRETS: ${{ secrets.GENERIC_APP_SECRETS }} + GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }} + APP_SIGNING_SECRET: ${{ secrets.APP_SIGNING_SECRET }} + + - name: Fastlane 배포하기 + run: bundle exec fastlane deploy_internal_test + env: + FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }} + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + SERVICE_CREDENTIAL_FILE_PATH: gcp_keyfile.json + GOOGLE_CREDENTIAL_FILE_PATH: play_keyfile.json diff --git a/.gitignore b/.gitignore index 26cd2e9..a50d3c1 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,5 @@ google-services.json .idea/ .DS_Store secrets.properties +play_keyfile.json +.env diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..cdd3a6b --- /dev/null +++ b/Gemfile @@ -0,0 +1,6 @@ +source "https://rubygems.org" + +gem "fastlane" + +plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') +eval_gemfile(plugins_path) if File.exist?(plugins_path) diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..a9a83b7 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,231 @@ +GEM + remote: https://rubygems.org/ + specs: + CFPropertyList (3.0.6) + rexml + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + artifactory (3.0.15) + atomos (0.1.3) + aws-eventstream (1.3.0) + aws-partitions (1.877.0) + aws-sdk-core (3.190.1) + aws-eventstream (~> 1, >= 1.3.0) + aws-partitions (~> 1, >= 1.651.0) + aws-sigv4 (~> 1.8) + jmespath (~> 1, >= 1.6.1) + aws-sdk-kms (1.75.0) + aws-sdk-core (~> 3, >= 3.188.0) + aws-sigv4 (~> 1.1) + aws-sdk-s3 (1.142.0) + aws-sdk-core (~> 3, >= 3.189.0) + aws-sdk-kms (~> 1) + aws-sigv4 (~> 1.8) + aws-sigv4 (1.8.0) + aws-eventstream (~> 1, >= 1.0.2) + babosa (1.0.4) + claide (1.1.0) + colored (1.2) + colored2 (3.1.2) + commander (4.6.0) + highline (~> 2.0.0) + declarative (0.0.20) + digest-crc (0.6.5) + rake (>= 12.0.0, < 14.0.0) + domain_name (0.5.20190701) + unf (>= 0.0.5, < 1.0.0) + dotenv (2.8.1) + emoji_regex (3.2.3) + excon (0.109.0) + faraday (1.10.3) + faraday-em_http (~> 1.0) + faraday-em_synchrony (~> 1.0) + faraday-excon (~> 1.1) + faraday-httpclient (~> 1.0) + faraday-multipart (~> 1.0) + faraday-net_http (~> 1.0) + faraday-net_http_persistent (~> 1.0) + faraday-patron (~> 1.0) + faraday-rack (~> 1.0) + faraday-retry (~> 1.0) + ruby2_keywords (>= 0.0.4) + faraday-cookie_jar (0.0.7) + faraday (>= 0.8.0) + http-cookie (~> 1.0.0) + faraday-em_http (1.0.0) + faraday-em_synchrony (1.0.0) + faraday-excon (1.1.0) + faraday-httpclient (1.0.1) + faraday-multipart (1.0.4) + multipart-post (~> 2) + faraday-net_http (1.0.1) + faraday-net_http_persistent (1.2.0) + faraday-patron (1.0.0) + faraday-rack (1.0.0) + faraday-retry (1.0.3) + faraday_middleware (1.2.0) + faraday (~> 1.0) + fastimage (2.3.0) + fastlane (2.219.0) + CFPropertyList (>= 2.3, < 4.0.0) + addressable (>= 2.8, < 3.0.0) + artifactory (~> 3.0) + aws-sdk-s3 (~> 1.0) + babosa (>= 1.0.3, < 2.0.0) + bundler (>= 1.12.0, < 3.0.0) + colored + commander (~> 4.6) + dotenv (>= 2.1.1, < 3.0.0) + emoji_regex (>= 0.1, < 4.0) + excon (>= 0.71.0, < 1.0.0) + faraday (~> 1.0) + faraday-cookie_jar (~> 0.0.6) + faraday_middleware (~> 1.0) + fastimage (>= 2.1.0, < 3.0.0) + gh_inspector (>= 1.1.2, < 2.0.0) + google-apis-androidpublisher_v3 (~> 0.3) + google-apis-playcustomapp_v1 (~> 0.1) + google-cloud-env (>= 1.6.0, < 2.0.0) + google-cloud-storage (~> 1.31) + highline (~> 2.0) + http-cookie (~> 1.0.5) + json (< 3.0.0) + jwt (>= 2.1.0, < 3) + mini_magick (>= 4.9.4, < 5.0.0) + multipart-post (>= 2.0.0, < 3.0.0) + naturally (~> 2.2) + optparse (>= 0.1.1) + plist (>= 3.1.0, < 4.0.0) + rubyzip (>= 2.0.0, < 3.0.0) + security (= 0.1.3) + simctl (~> 1.6.3) + terminal-notifier (>= 2.0.0, < 3.0.0) + terminal-table (~> 3) + tty-screen (>= 0.6.3, < 1.0.0) + tty-spinner (>= 0.8.0, < 1.0.0) + word_wrap (~> 1.0.0) + xcodeproj (>= 1.13.0, < 2.0.0) + xcpretty (~> 0.3.0) + xcpretty-travis-formatter (>= 0.0.3) + fastlane-plugin-firebase_app_distribution (0.8.1) + google-apis-firebaseappdistribution_v1 (~> 0.3.0) + google-apis-firebaseappdistribution_v1alpha (~> 0.2.0) + fastlane-plugin-get_version_code (0.2.0) + fastlane-plugin-get_version_name (0.2.2) + fastlane-plugin-increment_version_code (0.4.3) + gh_inspector (1.1.3) + google-apis-androidpublisher_v3 (0.54.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-core (0.11.3) + addressable (~> 2.5, >= 2.5.1) + googleauth (>= 0.16.2, < 2.a) + httpclient (>= 2.8.1, < 3.a) + mini_mime (~> 1.0) + representable (~> 3.0) + retriable (>= 2.0, < 4.a) + rexml + google-apis-firebaseappdistribution_v1 (0.3.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-firebaseappdistribution_v1alpha (0.2.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-iamcredentials_v1 (0.17.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-playcustomapp_v1 (0.13.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-storage_v1 (0.29.0) + google-apis-core (>= 0.11.0, < 2.a) + google-cloud-core (1.6.1) + google-cloud-env (>= 1.0, < 3.a) + google-cloud-errors (~> 1.0) + google-cloud-env (1.6.0) + faraday (>= 0.17.3, < 3.0) + google-cloud-errors (1.3.1) + google-cloud-storage (1.45.0) + addressable (~> 2.8) + digest-crc (~> 0.4) + google-apis-iamcredentials_v1 (~> 0.1) + google-apis-storage_v1 (~> 0.29.0) + google-cloud-core (~> 1.6) + googleauth (>= 0.16.2, < 2.a) + mini_mime (~> 1.0) + googleauth (1.8.1) + faraday (>= 0.17.3, < 3.a) + jwt (>= 1.4, < 3.0) + multi_json (~> 1.11) + os (>= 0.9, < 2.0) + signet (>= 0.16, < 2.a) + highline (2.0.3) + http-cookie (1.0.5) + domain_name (~> 0.5) + httpclient (2.8.3) + jmespath (1.6.2) + json (2.6.3) + jwt (2.7.1) + mini_magick (4.12.0) + mini_mime (1.1.5) + multi_json (1.15.0) + multipart-post (2.3.0) + nanaimo (0.3.0) + naturally (2.2.1) + optparse (0.3.1) + os (1.1.4) + plist (3.7.1) + public_suffix (5.0.4) + rake (13.1.0) + representable (3.2.0) + declarative (< 0.1.0) + trailblazer-option (>= 0.1.1, < 0.2.0) + uber (< 0.2.0) + retriable (3.1.2) + rexml (3.2.6) + rouge (2.0.7) + ruby2_keywords (0.0.5) + rubyzip (2.3.2) + security (0.1.3) + signet (0.18.0) + addressable (~> 2.8) + faraday (>= 0.17.5, < 3.a) + jwt (>= 1.5, < 3.0) + multi_json (~> 1.10) + simctl (1.6.10) + CFPropertyList + naturally + terminal-notifier (2.0.0) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + trailblazer-option (0.1.2) + tty-cursor (0.7.1) + tty-screen (0.8.2) + tty-spinner (0.9.3) + tty-cursor (~> 0.7) + uber (0.1.0) + unf (0.1.4) + unf_ext + unf_ext (0.0.9.1) + unicode-display_width (2.5.0) + word_wrap (1.0.0) + xcodeproj (1.23.0) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.3) + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.3.0) + rexml (~> 3.2.4) + xcpretty (0.3.0) + rouge (~> 2.0.7) + xcpretty-travis-formatter (1.0.1) + xcpretty (~> 0.2, >= 0.0.7) + +PLATFORMS + arm64-darwin-23 + x86_64-darwin-19 + +DEPENDENCIES + fastlane + fastlane-plugin-firebase_app_distribution + fastlane-plugin-get_version_code + fastlane-plugin-get_version_name + fastlane-plugin-increment_version_code + +BUNDLED WITH + 2.4.10 diff --git a/app/build.gradle.kts b/app/build.gradle.kts index e403231..293d83e 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -11,6 +11,15 @@ plugins { id("com.google.android.libraries.mapsplatform.secrets-gradle-plugin") } +java { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 +} + +kotlin { + jvmToolchain(17) +} + secrets { propertiesFileName = "secrets.properties" } @@ -22,7 +31,6 @@ val secretProperties = Properties().apply { val majorVersion = 1 val minorVersion = 1 val patchVersion = 0 -val buildVersion = 8 android { namespace = "com.no5ing.bbibbi" @@ -41,8 +49,8 @@ android { applicationId = "com.no5ing.bbibbi" minSdk = 26 targetSdk = 34 - versionCode = majorVersion * 10000 + minorVersion * 1000 + patchVersion * 100 + buildVersion - versionName = "$majorVersion.$minorVersion.$patchVersion" + versionCode = 11011 + versionName = "1.1.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { @@ -59,7 +67,7 @@ android { getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" ) - signingConfig = signingConfigs.getByName("debug") + signingConfig = signingConfigs.getByName("release") } create("benchmark") { initWith(buildTypes.getByName("release")) @@ -73,7 +81,7 @@ android { targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = "17" + jvmTarget = JavaVersion.VERSION_17.toString() } buildFeatures { compose = true @@ -150,4 +158,4 @@ dependencies { implementation("androidx.glance:glance-material3:1.0.0") implementation("androidx.work:work-runtime-ktx:2.9.0") implementation("androidx.profileinstaller:profileinstaller:1.3.1") -} \ No newline at end of file +} diff --git a/app/release/app-release.aab b/app/release/app-release.aab new file mode 100644 index 0000000..3170bcf Binary files /dev/null and b/app/release/app-release.aab differ diff --git a/fastlane/Appfile b/fastlane/Appfile new file mode 100644 index 0000000..62bae69 --- /dev/null +++ b/fastlane/Appfile @@ -0,0 +1,2 @@ +json_key_file(ENV["GOOGLE_CREDENTIAL_FILE_PATH"]) +package_name("com.no5ing.bbibbi") diff --git a/fastlane/Fastfile b/fastlane/Fastfile new file mode 100644 index 0000000..32b0ef2 --- /dev/null +++ b/fastlane/Fastfile @@ -0,0 +1,109 @@ +default_platform(:android) + +platform :android do + desc "Runs all the tests" + lane :test do + gradle(task: "test") + end + + desc "Deploy Development Build to Firebase App Distribution" + lane :deploy_dev do + latest_release = firebase_app_distribution_get_latest_release( + app: ENV["FIREBASE_APP_ID"], + service_credentials_file: ENV["SERVICE_CREDENTIAL_FILE_PATH"] + ) + increment_version_code({ version_code: latest_release[:buildVersion].to_i + 1, gradle_file_path: "app/build.gradle.kts" }) + version_name = get_version_name( + gradle_file_path: "./app/build.gradle.kts", + ext_constant_name: "versionName" + ) + version_code = get_version_code( + gradle_file_path: "./app/build.gradle.kts", + ext_constant_name: "versionCode" + ) + gradle(task: "clean bundleRelease") + firebase_app_distribution( + app: ENV["FIREBASE_APP_ID"], + groups: "qa", + release_notes: "Text of release notes", + debug: false, + android_artifact_type: "AAB", + service_credentials_file: ENV["SERVICE_CREDENTIAL_FILE_PATH"] + ) + build_success("Dev 버전", version_name, version_code) + rescue => exception + build_fail("Dev 버전", version_name, version_code, exception) + end + + desc "Deploy Internal Test Version to Google Play" + lane :deploy_internal_test do + latest_release = google_play_track_version_codes(track: 'internal') + increment_version_code({ version_code: latest_release[0].to_i + 1, gradle_file_path: "app/build.gradle.kts" }) + version_name = get_version_name( + gradle_file_path: "./app/build.gradle.kts", + ext_constant_name: "versionName" + ) + version_code = get_version_code( + gradle_file_path: "./app/build.gradle.kts", + ext_constant_name: "versionCode" + ) + gradle(task: "clean bundleRelease") + upload_to_play_store( + track: 'internal', + skip_upload_apk: true, + skip_upload_images: true, + skip_upload_metadata: true + ) + build_success("내부 테스트", version_name, version_code) + rescue => exception + build_fail("내부 테스트", version_name, version_code, exception) + end + + desc "Deploy Production Version to Google Play" + lane :deploy_production do + latest_release = google_play_track_version_codes(track: 'production') + increment_version_code({ version_code: latest_release[0].to_i + 1, gradle_file_path: "app/build.gradle.kts" }) + version_name = get_version_name( + gradle_file_path: "./app/build.gradle.kts", + ext_constant_name: "versionName" + ) + version_code = get_version_code( + gradle_file_path: "./app/build.gradle.kts", + ext_constant_name: "versionCode" + ) + gradle(task: "clean bundleRelease") + upload_to_play_store( + track: 'production', + skip_upload_apk: true, + sync_image_upload: true + ) + build_success("프로덕션", version_name, version_code) + rescue => exception + build_fail("프로덕션", version_name, version_code, exception) + end + + def build_success(title, versionName, versionCode) + slack( + message: "삐삐(#{title}) AOS 배포 성공", + success: true, + slack_url: ENV["SLACK_WEBHOOK_URL"], + payload: { + "빌드 날짜" => Time.now.getlocal('+09:00').to_s, + "배포 버전" => "#{versionName}(#{versionCode})" + } + ) + end + + def build_fail(title, versionName, versionCode, exception) + slack( + message: "삐삐(#{title}) AOS 배포 실패", + success: false, + slack_url: ENV["SLACK_WEBHOOK_URL"], + payload: { + "빌드 날짜" => Time.now.getlocal('+09:00').to_s, + "배포 버전" => "#{versionName}(#{versionCode})", + "에러" => exception, + } + ) + end +end diff --git a/fastlane/Pluginfile b/fastlane/Pluginfile new file mode 100644 index 0000000..7a74348 --- /dev/null +++ b/fastlane/Pluginfile @@ -0,0 +1,8 @@ +# Autogenerated by fastlane +# +# Ensure this file is checked in to source control! + +gem 'fastlane-plugin-firebase_app_distribution' +gem 'fastlane-plugin-increment_version_code' +gem 'fastlane-plugin-get_version_name' +gem 'fastlane-plugin-get_version_code' diff --git a/fastlane/README.md b/fastlane/README.md new file mode 100644 index 0000000..2e31f34 --- /dev/null +++ b/fastlane/README.md @@ -0,0 +1,48 @@ +fastlane documentation +---- + +# Installation + +Make sure you have the latest version of the Xcode command line tools installed: + +```sh +xcode-select --install +``` + +For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) + +# Available Actions + +## Android + +### android test + +```sh +[bundle exec] fastlane android test +``` + +Runs all the tests + +### android deploy_dev + +```sh +[bundle exec] fastlane android deploy_dev +``` + +Deploy Development Build to Firebase App Distribution + +### android deploy_internal_test + +```sh +[bundle exec] fastlane android deploy_internal_test +``` + +Deploy Internal Test Version to Google Play + +---- + +This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. + +More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). + +The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools). diff --git a/fastlane/metadata/android/ko-KR/full_description.txt b/fastlane/metadata/android/ko-KR/full_description.txt new file mode 100644 index 0000000..8d9bd17 --- /dev/null +++ b/fastlane/metadata/android/ko-KR/full_description.txt @@ -0,0 +1,46 @@ +#하루에 한 번 #가족에게 보내는 생존신고 + + + +바빠서, 깜빡해서, 답장을 못한 경험은 없으신가요?  + +30년 뒤 후회할 내 모습을 상상하시나요? + + + +삐삐는 가족 구성원들이 부담없이 일상을 공유하는  + +사진 위젯 서비스에요. + + + +우리 가족의 일상이 궁금하다면, 인생에 후회 없는 가족 관계를 형성하고 싶다면 삐삐를 만나보세요! + + + + + +-자발적으로, 생존신고 알림 🔔 + +낮 12시, 알림을 받으면 사진 한 장을 보내요 + + + +-습관이 되도록, 사진 위젯 🏞️ + +홈 화면 위젯으로 가족의 일상을 한눈에 확인해요 + + + +-후회 없도록, 추억 기록 📝 + +주고 받은 사진을 추억 캘린더에 보관해요 + + + +---------- + + + +*앱 사용 중 개선을 원하거나, 문의사항이 있으면 아래 메일로 보내주세요. +55ing.team@gmail.com \ No newline at end of file diff --git a/fastlane/metadata/android/ko-KR/images/featureGraphic.png b/fastlane/metadata/android/ko-KR/images/featureGraphic.png new file mode 100644 index 0000000..ca1d70a Binary files /dev/null and b/fastlane/metadata/android/ko-KR/images/featureGraphic.png differ diff --git a/fastlane/metadata/android/ko-KR/images/icon.png b/fastlane/metadata/android/ko-KR/images/icon.png new file mode 100644 index 0000000..6ee159a Binary files /dev/null and b/fastlane/metadata/android/ko-KR/images/icon.png differ diff --git a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/1_ko-KR.png b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/1_ko-KR.png new file mode 100644 index 0000000..30623f1 Binary files /dev/null and b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/1_ko-KR.png differ diff --git a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/2_ko-KR.png b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/2_ko-KR.png new file mode 100644 index 0000000..b4e31f6 Binary files /dev/null and b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/2_ko-KR.png differ diff --git a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/3_ko-KR.png b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/3_ko-KR.png new file mode 100644 index 0000000..d8b4884 Binary files /dev/null and b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/3_ko-KR.png differ diff --git a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/4_ko-KR.png b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/4_ko-KR.png new file mode 100644 index 0000000..2cd4d33 Binary files /dev/null and b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/4_ko-KR.png differ diff --git a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/5_ko-KR.png b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/5_ko-KR.png new file mode 100644 index 0000000..eba1aa6 Binary files /dev/null and b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/5_ko-KR.png differ diff --git a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/6_ko-KR.png b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/6_ko-KR.png new file mode 100644 index 0000000..3bbabd5 Binary files /dev/null and b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/6_ko-KR.png differ diff --git a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/7_ko-KR.png b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/7_ko-KR.png new file mode 100644 index 0000000..b6e34b2 Binary files /dev/null and b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/7_ko-KR.png differ diff --git a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/8_ko-KR.png b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/8_ko-KR.png new file mode 100644 index 0000000..da8917c Binary files /dev/null and b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/8_ko-KR.png differ diff --git a/fastlane/metadata/android/ko-KR/short_description.txt b/fastlane/metadata/android/ko-KR/short_description.txt new file mode 100644 index 0000000..49f351b --- /dev/null +++ b/fastlane/metadata/android/ko-KR/short_description.txt @@ -0,0 +1 @@ +하루 한 번 가족에게 보내는 생존신고 위젯, 삐삐 \ No newline at end of file diff --git a/fastlane/metadata/android/ko-KR/title.txt b/fastlane/metadata/android/ko-KR/title.txt new file mode 100644 index 0000000..1a5e2a0 --- /dev/null +++ b/fastlane/metadata/android/ko-KR/title.txt @@ -0,0 +1 @@ +삐삐 \ No newline at end of file diff --git a/fastlane/metadata/android/ko-KR/video.txt b/fastlane/metadata/android/ko-KR/video.txt new file mode 100644 index 0000000..e69de29 diff --git a/fastlane/report.xml b/fastlane/report.xml new file mode 100644 index 0000000..0e5ad10 --- /dev/null +++ b/fastlane/report.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gradle.properties b/gradle.properties index 6dc67e2..a7b76c6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,9 @@ # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-Xms6144m -Xmx11000m -XX:-UseGCOverheadLimit -XX:+HeapDumpOnOutOfMemoryError -XX:MaxMetaspaceSize=1024m -XX:+UseParallelGC -Dfile.encoding=UTF-8 +org.gradle.daemon=true +org.gradle.configureondemand=true # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects @@ -21,4 +23,5 @@ kotlin.code.style=official # resources declared in the library itself and none from the library's dependencies, # thereby reducing the size of the R class for that library android.nonTransitiveRClass=true -android.enableR8.fullMode=false \ No newline at end of file +android.enableR8.fullMode=false +org.gradle.parallel=true \ No newline at end of file diff --git a/widget/build.gradle.kts b/widget/build.gradle.kts index 89692ed..547735f 100644 --- a/widget/build.gradle.kts +++ b/widget/build.gradle.kts @@ -8,6 +8,15 @@ plugins { id("com.google.android.libraries.mapsplatform.secrets-gradle-plugin") } +java { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 +} + +kotlin { + jvmToolchain(17) +} + secrets { propertiesFileName = "secrets.properties" }