Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gradle conventions to 0.0.61 #267

Merged
merged 1 commit into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
gradle-version: wrapper

- name: Run checks
run: ./format --no-format && ./gradlew check detektAppleMain detektJvmMain detektJsWasmMain detektMetadataMain -x wasmBrowserTest -x wasmNodeTest
run: ./format --no-format && ./gradlew check detektAppleMain detektJvmMain detektCommonJsMain detektMetadataMain -x wasmBrowserTest -x wasmNodeTest

checkWindows:
runs-on: windows-latest
Expand Down
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import com.eygraber.conventions.tasks.deleteRootBuildDirWhenCleaning
import org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

buildscript {
Expand Down Expand Up @@ -35,5 +36,6 @@ gradleConventionsDefaults {

kotlin {
jvmTargetVersion = JvmTarget.JVM_11
explicitApiMode = ExplicitApiMode.Strict
}
}
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ android-sdk-compile = "33"
android-sdk-min = "21"
android-sdk-target = "33"

conventions = "0.0.58"
conventions = "0.0.61"

detekt = "1.23.4"
detektEygraber = "1.0.11"
Expand Down
5 changes: 5 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
"labels": ["dependencies"],
"prHourlyLimit": 3,
"packageRules": [
{
"groupName": "gradle-conventions",
"matchPackagePrefixes": ["com.eygraber.conventions"],
"automerge": true
},
{
"matchDatasources": ["maven"],
"depType": "dependencies",
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dependencyResolutionManagement {
}

plugins {
id("com.eygraber.conventions.settings") version "0.0.58"
id("com.eygraber.conventions.settings") version "0.0.61"
id("com.gradle.enterprise") version "3.16.1"
}

Expand Down
21 changes: 6 additions & 15 deletions uri/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,13 @@ android {
}

kotlin {
explicitApi()

kmpTargets(
allKmpTargets(
project = project,
android = true,
androidNative = true,
jvm = true,
ios = true,
macos = true,
tvos = true,
watchos = true,
linux = true,
mingw = true,
wasmJs = true,
wasmWasi = true,
js = true
webOptions = KmpTarget.WebOptions(
isNodeEnabled = true,
isBrowserEnabled = true,
isLibraryBrowserTestsEnabled = true,
),
)

sourceSets {
Expand Down