Skip to content

Commit ef3e955

Browse files
actions-userJavierSegoviaCordoba
authored andcommitted
Initial setup
1 parent f960997 commit ef3e955

18 files changed

+23
-289
lines changed

.docs/mkdocs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
site_name: '"{{ name }}"'
2-
site_description: '"{{ description }}"'
1+
site_name: 'JavierSC Kotlin stdlib'
2+
site_description: 'Adds missing features in the official Kotlin stdlib'
33
site_author: 'Javier Segovia Córdoba'
44
remote_branch: gh-pages
55

6-
repo_name: '"{{ repo }}"'
7-
repo_url: 'https://github.com/JavierSegoviaCordoba/"{{ repo }}"'
6+
repo_name: 'kotlin-stdlib'
7+
repo_url: 'https://github.com/JavierSegoviaCordoba/kotlin-stdlib'
88

99
copyright: 'Copyright © 2021 Javier Segovia Córdoba'
1010

.github/workflows/build-kotlin-dispatcher.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
inputs:
66
machines:
77
description: 'Virtual environment, default is `ubuntu-latest`. The first one will be used for one global time steps.'
8-
#TODO: default: '"{{ machines }}"'
8+
default: 'macos-latest, ubuntu-latest, windows-latest'
99
required: true
1010
gradle-args:
1111
description: 'Gradle args for `build` step'

.github/workflows/build-kotlin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
if: ${{ github.event_name != 'workflow_dispatch' }}
1919
uses: JavierSegoviaCordoba/reusable-workflows/.github/workflows/build-kotlin.yaml@main
2020
with:
21-
#TODO: machines: '"{{ machines }}"'
21+
machines: 'macos-latest, ubuntu-latest, windows-latest'
2222
global-machine: 'ubuntu-latest'
2323
allow-github-actor-bots: false
2424
publish-snapshot: true

.github/workflows/build.yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/generate-version-tag.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
generate:
2929
uses: JavierSegoviaCordoba/reusable-workflows/.github/workflows/generate-version-tag.yaml@main
3030
with:
31-
#TODO: machines: '"{{ machines }}"'
31+
machines: 'macos-latest, ubuntu-latest, windows-latest'
3232
stage: '${{ github.event.inputs.stage }}'
3333
scope: '${{ github.event.inputs.scope }}'
3434
secrets:

.github/workflows/initial-setup.yaml

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/workflows/publish-kotlin.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
publish:
1010
uses: JavierSegoviaCordoba/reusable-workflows/.github/workflows/publish-kotlin.yaml@main
1111
with:
12-
#TODO: machines: '"{{ machines }}"'
12+
machines: 'macos-latest, ubuntu-latest, windows-latest'
1313
global-machine: 'ubuntu-latest'
1414
publish-maven-central: true
15-
#TODO: publish-gradle-plugin-portal: "{{ publish-gradle-plugin-portal }}"
16-
#TODO: publish-jetbrains-marketplace: "{{ publish-jetbrains-marketplace }}"
15+
publish-gradle-plugin-portal: false
16+
publish-jetbrains-marketplace: false
1717
publish-docs: true
1818
publish-github-release: true
1919
secrets:

.github/workflows/publish.yaml

Lines changed: 0 additions & 47 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1 @@
1-
# JavierSC Kotlin template
2-
3-
Create libraries for all types of Kotlin projects: android, JVM, Multiplatform, Gradle plugins, and
4-
so on.
5-
6-
## Features
7-
8-
- Easy to publish:
9-
- Kotlin JVM
10-
- Kotlin Multiplatform
11-
- Android library
12-
- Gradle Plugins
13-
- Version Catalog
14-
- Versioning based on git tags
15-
- Multiple patching tasks for CHANGELOG
16-
- Autogenerate docs for all projects
17-
- Code analysis with default config
18-
- Code formatter with default config
19-
- Autogenerate and update README badges
20-
- Autogenerate a Version Catalog with all projects in the project
21-
- GitHub Actions:
22-
- Publish all types of artifacts (MavenCentral and Gradle Plugin Portal)
23-
- Publish as snapshot any new push to main branch.
24-
- Show Detekt hints in pull requests (below code that smells)
25-
- Automatically patch the CHANGELOG and publish all docs to GitHub pages
26-
- Add new updates to the CHANGELOG when the PR is open by Renovate
27-
28-
## Usage
29-
30-
1. Go to the GitHub Actions tab
31-
2. Select `initial-setup`
32-
3. Press `Run workflow`
33-
4. Fill the workflow form
34-
35-
After that, there will be a new commit modifying/deleting all necessary files.
1+
# JavierSC Kotlin stdlib

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
`javiersc-versioning`
3-
// TODO: Uncomment"{{ `javiersc-all-projects` }}"
3+
`javiersc-all-projects`
44
`javiersc-changelog`
55
`javiersc-code-analysis`
66
`javiersc-code-formatter`

0 commit comments

Comments
 (0)