| @@ -1,5 +1,5 | |||||
| 1 | plugins { |
|
1 | plugins { | |
| 2 |
id "org.implab.gradle-typescript" version "1. |
|
2 | id "org.implab.gradle-typescript" version "1.3.0" | |
| 3 | id "org.implab.gradle-hg" |
|
3 | id "org.implab.gradle-hg" | |
| 4 | id "ivy-publish" |
|
4 | id "ivy-publish" | |
| 5 | } |
|
5 | } | |
| @@ -70,10 +70,6 typescript { | |||||
| 70 | esLintCmd = "$projectDir/node_modules/.bin/eslint" |
|
70 | esLintCmd = "$projectDir/node_modules/.bin/eslint" | |
| 71 | } |
|
71 | } | |
| 72 |
|
72 | |||
| 73 | npm { |
|
|||
| 74 | npmCmd = "npm" |
|
|||
| 75 | } |
|
|||
| 76 |
|
||||
| 77 | tasks.matching{ it.name =~ /^lint/ }.configureEach { |
|
73 | tasks.matching{ it.name =~ /^lint/ }.configureEach { | |
| 78 | onlyIf { lint } |
|
74 | onlyIf { lint } | |
| 79 | } |
|
75 | } | |
| @@ -98,12 +94,6 task printVersion { | |||||
| 98 | } |
|
94 | } | |
| 99 | } |
|
95 | } | |
| 100 |
|
96 | |||
| 101 | task clean { |
|
|||
| 102 | doLast { |
|
|||
| 103 | delete buildDir |
|
|||
| 104 | } |
|
|||
| 105 | } |
|
|||
| 106 |
|
||||
| 107 | npmPackMeta { |
|
97 | npmPackMeta { | |
| 108 | meta { |
|
98 | meta { | |
| 109 | name = packageName |
|
99 | name = packageName | |
General Comments 0
You need to be logged in to leave comments.
Login now
