| @@ -1,5 +1,5 | |||
|
|
1 | 1 | plugins { |
|
|
2 |
id "org.implab.gradle-typescript" version "1. |
|
|
|
2 | id "org.implab.gradle-typescript" version "1.3.0" | |
|
|
3 | 3 | id "org.implab.gradle-hg" |
|
|
4 | 4 | id "ivy-publish" |
|
|
5 | 5 | } |
| @@ -70,10 +70,6 typescript { | |||
|
|
70 | 70 | esLintCmd = "$projectDir/node_modules/.bin/eslint" |
|
|
71 | 71 | } |
|
|
72 | 72 | |
|
|
73 | npm { | |
|
|
74 | npmCmd = "npm" | |
|
|
75 | } | |
|
|
76 | ||
|
|
77 | 73 | tasks.matching{ it.name =~ /^lint/ }.configureEach { |
|
|
78 | 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 | 97 | npmPackMeta { |
|
|
108 | 98 | meta { |
|
|
109 | 99 | name = packageName |
General Comments 0
You need to be logged in to leave comments.
Login now
