diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a66378a..8590efa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ on: push: branches: [main] # Release tag format is v[version] - # For example: v1.3.5 + # Example: v1.3.5 tags: ["v*"] pull_request: branches: [main] diff --git a/README.md b/README.md index b1d3e2b..43bb659 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ - Remove `Cleanup` step from [main.yml](.github/workflows/main.yml) - Update library description in README and in `build.gradle.kts` - Update [Usage](#usage) guide +- Revise the logic in convention-plugins in `buildSrc` and remove everything you don't need --- [![License](https://img.shields.io/github/license/RedMadRobot/%Stub%?style=flat-square)][license] diff --git a/buildSrc/settings.gradle.kts b/buildSrc/settings.gradle.kts index ec83ce2..093e8b4 100644 --- a/buildSrc/settings.gradle.kts +++ b/buildSrc/settings.gradle.kts @@ -1,3 +1,5 @@ +@file:Suppress("UnstableApiUsage") + pluginManagement { repositories { gradlePluginPortal() @@ -12,9 +14,8 @@ pluginManagement { } } -@Suppress("UnstableApiUsage") dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS repositories { google { diff --git a/buildSrc/src/main/kotlin/convention.publishing.gradle.kts b/buildSrc/src/main/kotlin/convention.publishing.gradle.kts index 3dfa848..ae1e441 100644 --- a/buildSrc/src/main/kotlin/convention.publishing.gradle.kts +++ b/buildSrc/src/main/kotlin/convention.publishing.gradle.kts @@ -18,7 +18,8 @@ mavenPublishing { } developers { -// developer(id = "coolest id", name = "the best name", email = "awesome email") + // TODO: Specify real developer information + // developer(id = "github_nickname", name = "Name Surname", email = "n.surname@redmadrobot.com") } setGitHubProject("RedMadRobot/%Stub%")