Fix Build
Some checks failed
ScriptCraft/pipeline/head There was a failure building this commit

This commit is contained in:
TheBrokenRail 2020-05-31 15:35:00 -04:00
parent 0cc1dfcea9
commit 2d54124e5e
4 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ Inside the JAR, JS source files are in ```<JAR Root>/scriptcraft```, and inside
An external libraries API can be accessed using an ```import``` statement.
## TypeScript
TypeScript-based projects use thw ```com.thebrokenrail.scriptcraft``` Gradle plugin, this plugin will handle installing TypeScript and download any API type declarations. The TypeScript root using this Gradle plugin is at ```src/main/ts```.
TypeScript-based projects use thw ```com.thebrokenrail.scriptcraft.plugin``` Gradle plugin, this plugin will handle installing TypeScript and download any API type declarations. The TypeScript root using this Gradle plugin is at ```src/main/ts```.
### External Libraries
To access an external libraries' API in addition to an ```import``` statement, the TypeScript compiler must have access to the external libraries' type declarations. The ScriptCraft Gradle plugin generates and downloads these using JAR files called API JARs.

View File

@ -1,6 +1,6 @@
plugins {
id("fabric-loom") version "0.2.7-SNAPSHOT"
id("com.thebrokenrail.scriptcraft") version "1.0.0-SNAPSHOT"
id("com.thebrokenrail.scriptcraft.plugin") version "1.0.0"
}
java {

View File

@ -8,9 +8,9 @@ plugins {
`maven-publish`
}
group = "com.thebrokenrail"
base.archivesBaseName = "scriptcraft"
version = "1.0.0-SNAPSHOT"
group = "com.thebrokenrail.scriptcraft"
base.archivesBaseName = "plugin"
version = "1.0.0"
gradlePlugin {
plugins {

View File

@ -1,7 +1,7 @@
plugins {
id("fabric-loom") version "0.2.7-SNAPSHOT"
id("jni")
id("com.thebrokenrail.scriptcraft") version "1.0.0-SNAPSHOT"
id("com.thebrokenrail.scriptcraft.plugin") version "1.0.0-SNAPSHOT"
`maven-publish`
}