##// END OF EJS Templates
working on publications
cin -
r95:cd6fdbb2f173 ts-plugin
parent child
Show More
@@ -1,5 +1,6
1 1 plugins {
2 2 id "org.implab.gradle-typescript" version "1.0.1-rc3"
3 id "ivy-publish"
3 4 }
4 5
5 6 // если версия явно не заданы вычисляем ее из тэга ревизии v.{num}***
@@ -39,6 +40,10 if (hasProperty('versionSuffix') && vers
39 40 version += "-$versionSuffix"
40 41 }
41 42
43 configurations {
44
45 }
46
42 47 sources {
43 48 amd {
44 49 typings {
@@ -253,4 +258,36 task testBrowser {
253 258
254 259 task testNode {
255 260 dependsOn prepareNode, assembleTestCjs, test
261 }
262
263 task packJsTar(type: Tar) {
264 dependsOn assemble;
265
266 archiveBaseName = provider { packageName }
267
268 destinationDirectory = buildDir
269 archiveClassifier = provider { typescript.compilerOptions.module }
270 compression = Compression.GZIP
271
272 from(assemble.outputs)
273
274 doLast {
275 println archiveName;
276 }
277 }
278
279 publishing {
280 publications {
281 local(IvyPublication) {
282 artifact(packJsTar) {
283 type = "js"
284 }
285 }
286 }
287
288 repositories {
289 ivy {
290 url "ivy-repo"
291 }
292 }
256 293 } No newline at end of file
@@ -1,6 +1,7
1 group=org.implab
1 2 version=
2 3 author=Implab team
3 description=Dependency injection, logging, simple and fast text template engine
4 description=Dependency injection, logging, simple and fast text processing tools
4 5 license=BSD-2-Clause
5 6 repository=https://bitbucket.org/implab/implabjs-core
6 7 npmScope=implab No newline at end of file
@@ -2,10 +2,6 var rjs = require('requirejs');
2 2
3 3 rjs.config({
4 4 baseUrl: '.',
5 packages: [{
6 name: "dojo",
7 location: "node_modules/dojo"
8 }],
9 5 nodeRequire: require
10 6 });
11 7
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now