Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

Commit

Permalink
text-encoding added to npm install. workaround for
Browse files Browse the repository at this point in the history
  • Loading branch information
thebehera committed Mar 10, 2019
1 parent 4496c30 commit acf12ef
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .idea/modules/wire/wire_jsTest.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/modules/wire/wire_macosTest.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions gradle/node-js.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,11 @@ task populateNodeModules(type: Copy, dependsOn: [compileKotlinJs]) {
}
}

// wont be needed once https://github.com/ktorio/ktor/issues/961 is fixed
task installTextEncode(type: NpmTask) {
// install the text-encoding package only
args = ['install', 'text-encoding']
}
npmInstall.dependsOn installTextEncode

npmInstall.dependsOn populateNodeModules

0 comments on commit acf12ef

Please sign in to comment.