.
This commit is contained in:
parent
b0ed79fae1
commit
f1444c497a
5 changed files with 34 additions and 1 deletions
1
.idea/.name
Normal file
1
.idea/.name
Normal file
|
@ -0,0 +1 @@
|
||||||
|
permission-checker
|
8
.idea/artifacts/permission_checker_js_2_0.xml
Normal file
8
.idea/artifacts/permission_checker_js_2_0.xml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<component name="ArtifactManager">
|
||||||
|
<artifact type="jar" name="permission-checker-js-2.0">
|
||||||
|
<output-path>$PROJECT_DIR$/build/libs</output-path>
|
||||||
|
<root id="archive" name="permission-checker-js-2.0.jar">
|
||||||
|
<element id="module-output" name="permission-checker.jsMain" />
|
||||||
|
</root>
|
||||||
|
</artifact>
|
||||||
|
</component>
|
8
.idea/artifacts/permission_checker_jvm_2_0.xml
Normal file
8
.idea/artifacts/permission_checker_jvm_2_0.xml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<component name="ArtifactManager">
|
||||||
|
<artifact type="jar" name="permission-checker-jvm-2.0">
|
||||||
|
<output-path>$PROJECT_DIR$/build/libs</output-path>
|
||||||
|
<root id="archive" name="permission-checker-jvm-2.0.jar">
|
||||||
|
<element id="module-output" name="permission-checker.jvmMain" />
|
||||||
|
</root>
|
||||||
|
</artifact>
|
||||||
|
</component>
|
|
@ -70,3 +70,19 @@ publishing {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.register<Copy>("prepareNpmPublication") {
|
||||||
|
dependsOn("jsProductionExecutableCompileSync", "jsPackageJson")
|
||||||
|
from("build/js/packages/${project.name}", "README.md")
|
||||||
|
into("build/npm")
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.register("publishToNpm") {
|
||||||
|
dependsOn("prepareNpmPublication")
|
||||||
|
doLast {
|
||||||
|
exec {
|
||||||
|
workingDir("build/npm")
|
||||||
|
commandLine("npm", "publish")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
|
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
|
||||||
}
|
}
|
||||||
rootProject.name = "Permission-Checker"
|
rootProject.name = "permission-checker"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue