Skip to content

Commit

Permalink
buildless setup
Browse files Browse the repository at this point in the history
  • Loading branch information
psuzn committed Dec 19, 2023
1 parent cd03fef commit 640699b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 10 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ jobs:
build:
strategy:
matrix:
os: [ 'ubuntu-latest', 'macos-latest' ]
os: [ 'macos-latest' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

- name: "Setup: Buildless"
uses: buildless/[email protected]

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
Expand All @@ -27,11 +30,5 @@ jobs:
- name: Setup Gradle
uses: gradle/[email protected]

- name: Lint
run: ./gradlew ktlintCheck

- name: Tests
run: ./gradlew allTests

- name: Build Project
run: ./gradlew build -x lint -x test
run: ./gradlew build
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ org.jetbrains.compose.experimental.uikit.enabled=true
org.jetbrains.compose.experimental.macos.enabled=true
org.jetbrains.compose.experimental.jscanvas.enabled=true

org.gradle.caching = true

18 changes: 16 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
rootProject.name = "MP_Utils"

pluginManagement {
repositories {
google()
Expand All @@ -6,12 +8,24 @@ pluginManagement {
}
}

rootProject.name = "MP_Utils"
plugins {
id("build.less") version "1.0.0-rc2"
id("org.gradle.toolchains.foojay-resolver-convention") version("0.7.0")
}

buildscript {
dependencies {
classpath("com.google.guava:guava") {
version {
strictly("32.1.3-android")
}
}
}
}

include(":paths")
include(":context-provider")
include(":platform-identifier")

include(":sample:androidApp")
include(":sample:desktopApp")
include(":sample:webApp")
Expand Down

0 comments on commit 640699b

Please sign in to comment.