##// END OF EJS Templates
working on publications
cin -
r95:cd6fdbb2f173 ts-plugin
parent child
Show More
@@ -1,5 +1,6
1 plugins {
1 plugins {
2 id "org.implab.gradle-typescript" version "1.0.1-rc3"
2 id "org.implab.gradle-typescript" version "1.0.1-rc3"
3 id "ivy-publish"
3 }
4 }
4
5
5 // если версия явно не заданы вычисляем ее из тэга ревизии v.{num}***
6 // если версия явно не заданы вычисляем ее из тэга ревизии v.{num}***
@@ -39,6 +40,10 if (hasProperty('versionSuffix') && vers
39 version += "-$versionSuffix"
40 version += "-$versionSuffix"
40 }
41 }
41
42
43 configurations {
44
45 }
46
42 sources {
47 sources {
43 amd {
48 amd {
44 typings {
49 typings {
@@ -253,4 +258,36 task testBrowser {
253
258
254 task testNode {
259 task testNode {
255 dependsOn prepareNode, assembleTestCjs, test
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 } No newline at end of file
293 }
@@ -1,6 +1,7
1 group=org.implab
1 version=
2 version=
2 author=Implab team
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 license=BSD-2-Clause
5 license=BSD-2-Clause
5 repository=https://bitbucket.org/implab/implabjs-core
6 repository=https://bitbucket.org/implab/implabjs-core
6 npmScope=implab No newline at end of file
7 npmScope=implab
@@ -2,10 +2,6 var rjs = require('requirejs');
2
2
3 rjs.config({
3 rjs.config({
4 baseUrl: '.',
4 baseUrl: '.',
5 packages: [{
6 name: "dojo",
7 location: "node_modules/dojo"
8 }],
9 nodeRequire: require
5 nodeRequire: require
10 });
6 });
11
7
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now