From 78460195c4164d9b416880d9284876d7b4abd08e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harry=28=EB=B0=B0=ED=98=84=EB=B9=88=29?= Date: Mon, 15 Jan 2024 11:21:29 +0900 Subject: [PATCH] =?UTF-8?q?[YDS-#195]=20improve=20:=20gradle=20=EB=B2=84?= =?UTF-8?q?=EC=A0=84=20/=20JDK=20version=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/buildTest.yml | 4 ++-- .github/workflows/deployDevStoryBook.yml | 4 ++-- .github/workflows/deployLibraryYDS.yml | 4 ++-- DesignSystem/build.gradle | 9 ++++----- DesignSystem/src/main/AndroidManifest.xml | 3 +-- app/storybook/build.gradle | 7 ++++--- app/storybook/src/main/AndroidManifest.xml | 3 +-- app/yds-ui-tester/build.gradle | 7 ++++--- app/yds-ui-tester/src/main/AndroidManifest.xml | 3 +-- build.gradle | 2 +- gradle.properties | 4 +++- gradle/wrapper/gradle-wrapper.properties | 2 +- 12 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/buildTest.yml b/.github/workflows/buildTest.yml index a73b9aac..17671e75 100644 --- a/.github/workflows/buildTest.yml +++ b/.github/workflows/buildTest.yml @@ -13,10 +13,10 @@ jobs: - uses: actions/checkout@v3 # gradle 빌드을 위해 JDK를 세팅합니다. - - name: set up JDK 11 + - name: set up JDK 17 uses: actions/setup-java@v3 with: - java-version: '11' + java-version: '17' distribution: 'temurin' cache: gradle diff --git a/.github/workflows/deployDevStoryBook.yml b/.github/workflows/deployDevStoryBook.yml index 011c08e6..7db53f44 100644 --- a/.github/workflows/deployDevStoryBook.yml +++ b/.github/workflows/deployDevStoryBook.yml @@ -22,10 +22,10 @@ jobs: properties: 'versionName' # gradle 빌드을 위해 JDK를 세팅합니다. - - name: set up JDK 11 + - name: set up JDK 17 uses: actions/setup-java@v3 with: - java-version: '11' + java-version: '17' distribution: 'temurin' cache: gradle diff --git a/.github/workflows/deployLibraryYDS.yml b/.github/workflows/deployLibraryYDS.yml index 569d7d14..c0dc1af6 100644 --- a/.github/workflows/deployLibraryYDS.yml +++ b/.github/workflows/deployLibraryYDS.yml @@ -23,10 +23,10 @@ jobs: properties: 'versionName' # gradle 빌드을 위해 JDK를 세팅합니다. - - name: set up JDK 11 + - name: set up JDK 17 uses: actions/setup-java@v3 with: - java-version: '11' + java-version: '17' distribution: 'temurin' cache: gradle diff --git a/DesignSystem/build.gradle b/DesignSystem/build.gradle index 9fcd833c..5234e93d 100644 --- a/DesignSystem/build.gradle +++ b/DesignSystem/build.gradle @@ -15,8 +15,6 @@ android { defaultConfig { minSdkVersion 23 targetSdkVersion 33 - versionCode((System.getenv("BUILD_NUMBER") as Integer ?: 10000)) - versionName versionProperties['versionName'] vectorDrawables.useSupportLibrary = true testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" @@ -29,11 +27,11 @@ android { } } compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = '11' + jvmTarget = '17' freeCompilerArgs += [ "-Xjvm-default=all", ] @@ -41,6 +39,7 @@ android { buildFeatures { dataBinding = true } + namespace 'com.yourssu.design' } afterEvaluate { diff --git a/DesignSystem/src/main/AndroidManifest.xml b/DesignSystem/src/main/AndroidManifest.xml index 61c00cee..ae77d9a5 100644 --- a/DesignSystem/src/main/AndroidManifest.xml +++ b/DesignSystem/src/main/AndroidManifest.xml @@ -1,6 +1,5 @@ - + \ No newline at end of file diff --git a/app/storybook/build.gradle b/app/storybook/build.gradle index 07ada779..db8ba85b 100644 --- a/app/storybook/build.gradle +++ b/app/storybook/build.gradle @@ -57,11 +57,11 @@ android { } compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = '11' + jvmTarget = '17' } composeOptions { kotlinCompilerExtensionVersion = "1.4.3" @@ -70,6 +70,7 @@ android { dataBinding = true compose = true } + namespace 'com.yourssu.storybook' } dependencies { diff --git a/app/storybook/src/main/AndroidManifest.xml b/app/storybook/src/main/AndroidManifest.xml index 59c69c1b..b58d8f91 100644 --- a/app/storybook/src/main/AndroidManifest.xml +++ b/app/storybook/src/main/AndroidManifest.xml @@ -1,6 +1,5 @@ - + - +