Skip to content

Commit

Permalink
renames library to dummylib
Browse files Browse the repository at this point in the history
  • Loading branch information
asm0dey committed Jul 11, 2023
1 parent 7a9d27a commit 0333614
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## What is it?

It's the barebones library project intended to quickly bootstrap a Kotlin Multiplatform library, that is deployable to Maven Central.
It's the bare-bones library project intended to quickly bootstrap a Kotlin Multiplatform library, that is deployable to Maven Central.

It has only one function: generate the [Fibonacci sequence](https://en.wikipedia.org/wiki/Fibonacci_sequence) starting from platform-provided numbers. Also it has a test for each platform just to be sure that tests run.

Expand All @@ -13,9 +13,9 @@ It has only one function: generate the [Fibonacci sequence](https://en.wikipedia
1. [x] Clone this repository ot just [use it as template](https://github.com/asm0dey/dummylib-multiplatform/generate)
2. [ ] Edit project name in [`settings.gradle.kts`](settings.gradle.kts#L17)
3. [ ] Edit [`groupId` and `version`](convention-plugins/src/main/kotlin/module.publication.gradle.kts#L10-L11)
1. If you need the Android support update namespace [there](library/build.gradle.kts#L38) too
1. If you don't need an Android support delete the [`android` section](library/build.gradle.kts#L37-L43)
4. [ ] Edit [build targets you need](library/build.gradle.kts#L9-L21)
1. If you need the Android support update namespace [there](dummylib/build.gradle.kts#L38) too
2. If you don't need an Android support delete the [`android` section](dummylib/build.gradle.kts#L37-L43)
4. [ ] Edit [build targets you need](dummylib/build.gradle.kts#L9-L21)

At this stage you given you have everything setup to work with Kotlin Multiplatform the project shoud be buildable (but you might need to provide actual starting values for platforms you need).

Expand Down Expand Up @@ -44,7 +44,7 @@ The most part of the job is already automated for you. However, deployment to Ma
gh secret set OSSRH_PASSWORD -a actions --body "<your sonatype account password>"
gh secret set OSSRH_GPG_SECRET_KEOSSRH_USERNAMEY_ID -a actions --body "<your sonatype account username>"
```
2. Or via interface in `Seetings``Secrets and Variables``Actions` same variables as in 1.
1. Or via interface in `Seetings``Secrets and Variables``Actions` same variables as in 1.
8. [ ] Edit deploy targets in [`deploy.yml`](.github/workflows/deploy.yml#L23-L36)
9. [ ] Call deployment manually when ready [in Actions](../../actions/workflows/deploy.yml) → `Run Workflow`
10. [ ] When you see in your account on https://oss.sonatype.org that everything is fine you can release your staging repositories and add target `releaseSonatypeStagingRepository` to `deploy.yml` [after this line](.github/workflows/deploy.yml#L60). This way artifacts will be published to central automatically when tests pass.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ dependencyResolutionManagement {
}

rootProject.name = "dummylib-multiplatform"
include(":library")
include(":dummylib")

0 comments on commit 0333614

Please sign in to comment.