Skip to content

Commit

Permalink
Merge branch 'main' into cedrickc/compose-ios
Browse files Browse the repository at this point in the history
  • Loading branch information
cedrickcooke authored May 24, 2024
2 parents 639f563 + dc7fa1c commit e00dd10
Show file tree
Hide file tree
Showing 19 changed files with 43 additions and 76 deletions.
35 changes: 11 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,44 +12,31 @@ jobs:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v3

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true

- name: assemble
uses: gradle/gradle-build-action@v3
- uses: gradle/actions/setup-gradle@v3
with:
arguments: assemble
validate-wrappers: true

- name: check jacocoTestReport
uses: gradle/gradle-build-action@v3
with:
arguments: check jacocoTestReport
- run: ./gradlew assemble
- run: ./gradlew jacocoTestReport

- uses: EnricoMi/publish-unit-test-result-action/composite@v2
- uses: EnricoMi/publish-unit-test-result-action/macos@v2
with:
junit_files: '**/build/test-results/**/*.xml'
report_individual_runs: 'true'

- uses: codecov/codecov-action@v4

- name: publishToMavenLocal
uses: gradle/gradle-build-action@v3
with:
arguments: |
-PVERSION_NAME=unspecified
-PRELEASE_SIGNING_ENABLED=false
publishToMavenLocal
- name: Website
uses: gradle/gradle-build-action@v3
with:
arguments: :website:browserBuild
- run: >
./gradlew
-PVERSION_NAME=unspecified
-PRELEASE_SIGNING_ENABLED=false
publishToMavenLocal
- run: ./gradlew :website:browserBuild
13 changes: 3 additions & 10 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v3

- uses: actions/configure-pages@v5
id: pages

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true

- name: Website
uses: gradle/gradle-build-action@v3
- uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: true
arguments: |
-Pbaseurl=${{ steps.pages.outputs.base_path }}
:website:browserBuild

- run: ./gradlew -Pbaseurl='${{ steps.pages.outputs.base_path }}' :website:browserBuild

- uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down
24 changes: 10 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,20 @@ jobs:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- uses: gradle/actions/setup-gradle@v3

- name: check
uses: gradle/gradle-build-action@v3
with:
arguments: check
- run: ./gradlew check

- name: publish
uses: gradle/gradle-build-action@v3
with:
arguments: |
-PVERSION_NAME=${{ github.ref_name }}
-PsigningInMemoryKey=${{ secrets.SIGNING_KEY }}
-PsigningInMemoryKeyPassword=${{ secrets.SIGNING_PASSWORD }}
-PmavenCentralUsername=${{ secrets.OSS_SONATYPE_NEXUS_USERNAME }}
-PmavenCentralPassword=${{ secrets.OSS_SONATYPE_NEXUS_PASSWORD }}
publish
run: >
./gradlew
-PVERSION_NAME='${{ github.ref_name }}'
-PsigningInMemoryKey='${{ secrets.SIGNING_KEY }}'
-PsigningInMemoryKeyPassword='${{ secrets.SIGNING_PASSWORD }}'
-PmavenCentralUsername='${{ secrets.OSS_SONATYPE_NEXUS_USERNAME }}'
-PmavenCentralPassword='${{ secrets.OSS_SONATYPE_NEXUS_PASSWORD }}'
publish
13 changes: 6 additions & 7 deletions .github/workflows/signing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ jobs:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- uses: gradle/actions/setup-gradle@v3

- name: publishToMavenLocal
uses: gradle/gradle-build-action@v3
with:
arguments: |
-PsigningInMemoryKey=${{ secrets.SIGNING_KEY }}
-PsigningInMemoryKeyPassword=${{ secrets.SIGNING_PASSWORD }}
publishToMavenLocal
run: >
./gradlew
-PsigningInMemoryKey='${{ secrets.SIGNING_KEY }}'
-PsigningInMemoryKeyPassword='${{ secrets.SIGNING_PASSWORD }}'
publishToMavenLocal
1 change: 0 additions & 1 deletion axis/gradle.properties

This file was deleted.

1 change: 0 additions & 1 deletion box/gradle.properties

This file was deleted.

1 change: 0 additions & 1 deletion color/gradle.properties

This file was deleted.

1 change: 0 additions & 1 deletion element-view/gradle.properties

This file was deleted.

1 change: 0 additions & 1 deletion element/gradle.properties

This file was deleted.

16 changes: 8 additions & 8 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
[versions]
agp = "8.3.2" # 7.4.1 is the maximum version supported by IDEA 2023.1
agp = "8.4.1" # 7.4.1 is the maximum version supported by IDEA 2023.1
android-compile = "34"
android-min = "21"
android-target = "32"
compose = "1.6.2"
coroutines = "1.8.0"
compose = "1.6.10"
coroutines = "1.8.1"
jacoco = "0.8.7"
jvm-toolchain = "11"
kotlin = "1.9.23"
kotlin = "1.9.24"

[libraries]
androidx-activity-compose = { module = "androidx.activity:activity-compose", version = "1.9.0" }
androidx-appcompat = { module = "androidx.appcompat:appcompat", version = "1.6.1" }
androidx-lifecycle-runtime = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version = "2.7.0" }
androidx-lifecycle-runtime = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version = "2.8.0" }
androidx-test = { module = "androidx.test:core", version = "1.5.0" }
coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" }
coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
coroutines-js = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core-js", version.ref = "coroutines" }
coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version = "0.5.0" }
material = { module = "com.google.android.material:material", version = "1.11.0" }
robolectric = { module = "org.robolectric:robolectric", version = "4.12.1" }
datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version = "0.6.0" }
material = { module = "com.google.android.material:material", version = "1.12.0" }
robolectric = { module = "org.robolectric:robolectric", version = "4.12.2" }

[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
Expand Down
1 change: 0 additions & 1 deletion hierarchy/gradle.properties

This file was deleted.

1 change: 0 additions & 1 deletion interpolate/gradle.properties

This file was deleted.

1 change: 0 additions & 1 deletion kanvas/gradle.properties

This file was deleted.

1 change: 0 additions & 1 deletion scale/gradle.properties

This file was deleted.

1 change: 0 additions & 1 deletion selection/gradle.properties

This file was deleted.

2 changes: 2 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")

rootProject.name = "krayon"

pluginManagement {
repositories {
google()
Expand Down
1 change: 0 additions & 1 deletion shape/gradle.properties

This file was deleted.

1 change: 0 additions & 1 deletion time/gradle.properties

This file was deleted.

4 changes: 3 additions & 1 deletion website/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,16 @@ GEM
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.6)
rexml (3.2.8)
strscan (>= 3.0.9)
rouge (4.2.0)
rubyzip (2.3.2)
safe_yaml (1.0.5)
sass-embedded (1.69.7-arm64-darwin)
google-protobuf (~> 3.25)
sass-embedded (1.69.7-x86_64-linux-gnu)
google-protobuf (~> 3.25)
strscan (3.1.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.5.0)
Expand Down

0 comments on commit e00dd10

Please sign in to comment.