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. An external libraries API can be accessed using an ```import``` statement.
## TypeScript ## 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 ### 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. 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 { plugins {
id("fabric-loom") version "0.2.7-SNAPSHOT" 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 { java {

View File

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

View File

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