File tree Expand file tree Collapse file tree 4 files changed +15
-12
lines changed
npm-publish-gradle-plugin/src/main/kotlin Expand file tree Collapse file tree 4 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ comments:
1818 active : true
1919 UndocumentedPublicProperty :
2020 active : true
21-
21+ naming :
22+ InvalidPackageDeclaration :
23+ active : false
2224style :
2325 WildcardImport :
2426 active : false
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-7.4.2-all .zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.5.1-bin .zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -49,9 +49,10 @@ public class NpmPublishPlugin : Plugin<Project> {
4949 }
5050
5151 afterEvaluate {
52- val nodeDest = rootProject.tasks.named(" kotlinNodeJsSetup" , NodeJsSetupTask ::class .java).map { it.destination }
53- extension.nodeHome.set(layout.dir(nodeDest))
54-
52+ val kotlinNodeJsSetup = rootProject.tasks.findByName(" kotlinNodeJsSetup" )
53+ if (kotlinNodeJsSetup is NodeJsSetupTask ) {
54+ extension.nodeHome.set(kotlinNodeJsSetup.destination)
55+ }
5556 tasks.maybeCreate(" assemble" ).apply {
5657 group = " build"
5758 dependsOn(tasks.withType(NpmAssembleTask ::class .java))
Original file line number Diff line number Diff line change @@ -11,20 +11,20 @@ plugin.android=4.2.2
1111plugin.com.gradle.plugin-publish =0.21.0
1212plugin.io.github.gradle-nexus.publish-plugin =1.1.0
1313version.com.github.jakemarsden..git-hooks-gradle-plugin =0.0.2
14- version.com.gradle.publish..plugin-publish-plugin =0.21 .0
14+ version.com.gradle.publish..plugin-publish-plugin =1.0 .0
1515version.dev.petuska..container-tasks-gradle-plugin =0.0.4
1616version.io.github.gradle-nexus..publish-plugin =1.1.0
17- version.io.gitlab.arturbosch.detekt..detekt-formatting =1.20 .0
18- version.io.gitlab.arturbosch.detekt..detekt-gradle-plugin =1.20 .0
19- version.junit.jupiter =5.8.2
17+ version.io.gitlab.arturbosch.detekt..detekt-formatting =1.21 .0
18+ version.io.gitlab.arturbosch.detekt..detekt-gradle-plugin =1.21 .0
19+ version.junit.jupiter =5.9.0
2020version.com.github.gmazzo..gradle-buildconfig-plugin =3.0.3
2121version.ktlint =0.43.2
2222# ====================================== Libraries =======================================
2323version.com.github.tschuchortdev..kotlin-compile-testing =1.4.5
2424version.com.google.auto.service..auto-service =1.0
2525version.com.google.auto.service..auto-service-annotations =1.0
2626version.junit =5.8.2
27- version.kotlin =1.7.0
28- version.kotest =5.3 .2
27+ version.kotlin =1.7.10
28+ version.kotest =5.4 .2
2929version.ktor =2.0.1
30- version.com.google.code.gson..gson =2.9.0
30+ version.com.google.code.gson..gson =2.9.1
You can’t perform that action at this time.
0 commit comments