File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -119,12 +119,7 @@ subprojects {
119
119
}
120
120
121
121
122
- val publishToNpm by registering(Exec ::class ) {
123
- doFirst {
124
- if (! File (" $buildDir /node_module" ).exists()) {
125
- mkdir(" $buildDir /node_module" )
126
- }
127
- }
122
+ val publishToNpm by creating(Exec ::class ) {
128
123
129
124
if (! File (rootDir, " Firebase" ).exists()) {
130
125
dependsOn(
@@ -158,6 +153,11 @@ subprojects {
158
153
// }
159
154
160
155
afterEvaluate {
156
+ // create the projects node_modules if they don't exist
157
+ if (! File (" $buildDir /node_module" ).exists()) {
158
+ mkdir(" $buildDir /node_module" )
159
+ }
160
+
161
161
dependencies {
162
162
" commonMainImplementation" (kotlin(" stdlib-common" ))
163
163
" commonMainImplementation" (" org.jetbrains.kotlinx:kotlinx-coroutines-core-common:1.3.4" )
You can’t perform that action at this time.
0 commit comments