Skip to content

Commit

Permalink
change: flavor for atvm issue
Browse files Browse the repository at this point in the history
  • Loading branch information
muedsa committed Sep 14, 2024
1 parent e837d80 commit b63e2d9
Show file tree
Hide file tree
Showing 6 changed files with 5,027 additions and 4,178 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew :app:assembleDebug :app:assembleRelease
run: ./gradlew :app:assembleNormalDebug :app:assembleNormalRelease :app:assembleAtvmDebug :app:assembleAtvmRelease
- name: Upload a Build Artifact
if: success()
uses: actions/[email protected]
Expand Down
21 changes: 20 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,19 @@ android {
signingConfig = signingConfigs.getByName("release")
}
}

flavorDimensions += "issue"
productFlavors {
create("normal") {
dimension = "issue"
}

create("atvm") {
dimension = "issue"
versionNameSuffix = "-atvm"
}
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
Expand All @@ -100,6 +113,10 @@ android {
}
}

baselineProfile {
mergeIntoMain = true
}

dependencies {

implementation(libs.core.ktx)
Expand All @@ -124,7 +141,9 @@ dependencies {
debugImplementation(libs.ui.test.manifest)

// implementation(libs.tv.foundation)
implementation(libs.tv.material)
// implementation(libs.tv.material)
"normalImplementation"(libs.tv.material)
"atvmImplementation"(libs.tv.material.v1rc01)

implementation(libs.navigation.compose)
implementation(libs.hilt.navigation.compose)
Expand Down
Loading

0 comments on commit b63e2d9

Please sign in to comment.