Skip to content

Commit

Permalink
fix(publishing): try to make compliant to gradle plugin portal
Browse files Browse the repository at this point in the history
  • Loading branch information
manuandru committed Mar 15, 2024
1 parent 78f7873 commit 1db3eef
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# TODO LIST
# Typescript Gradle Plugin

<!--
1. Rename the project in `settings.gradle.kts`
1. Change the project information in `build.gradle.kts`
1. Change the username for Maven Central in `.github/workflows/build-and-deploy.yml`
Expand All @@ -8,3 +9,23 @@
* GRADLE_PUBLISH_SECRET
* MAVEN_CENTRAL_PASSWORD
* SIGNING_KEY
-->

Gradle plugin to build typescript and produce `.js` file.

It makes the assumption that the typescript files are in `src/main/typescript`.

## Usage

Just apply it to your project:

```kotlin
plugins {
id("io.github.zucchero-sintattico.typescript-gradle-plugin") version "<latest version>"
}
```

At the moment there are the following tasks:

- `CheckNode`: checks if node is installed
- `compileTypescript`: compiles the typescript file
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ publishOnCentral {
gradlePlugin {
plugins {
website.set(info.website)
vcsUrl.set(info.vcsUrl)
vcsUrl.set(info.website) // vcsUrl.set(info.vcsUrl)
create("") {
id = "$group.${project.name}"
displayName = info.longName
Expand Down

0 comments on commit 1db3eef

Please sign in to comment.