Revisão | 82d6ee30562b98696838ad116b8190fea49f4591 (tree) |
---|---|
Hora | 2015-10-11 19:13:47 |
Autor | MirrgieRiana |
Commiter | MirrgieRiana |
mirrg.applet.nitrogen: version 1.4; add: sources, javadoc; dependsOn: mirrg.event.nitrogen 1.1
@@ -0,0 +1,1 @@ | ||
1 | +7ca3fda4ab7734aec6aa4491ad383e04 | |
\ No newline at end of file |
@@ -0,0 +1,1 @@ | ||
1 | +bcbbe3187f587efa9a11d5b125ab012f192a2dbf | |
\ No newline at end of file |
@@ -0,0 +1,1 @@ | ||
1 | +0ab3e598fd40a2111ef0ef52638f9b13 | |
\ No newline at end of file |
@@ -0,0 +1,1 @@ | ||
1 | +587f185056e8570a42f4277828ca5b58b5f91467 | |
\ No newline at end of file |
@@ -0,0 +1,1 @@ | ||
1 | +77210b79a6c09da79fd1ed1073b0e857 | |
\ No newline at end of file |
@@ -0,0 +1,1 @@ | ||
1 | +758822f4c81aa8c21ddc03cb76585170146b8ae1 | |
\ No newline at end of file |
@@ -0,0 +1,28 @@ | ||
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | |
3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
4 | + <modelVersion>4.0.0</modelVersion> | |
5 | + <groupId>mirrg</groupId> | |
6 | + <artifactId>mirrg-applet-nitrogen</artifactId> | |
7 | + <version>1.4</version> | |
8 | + <dependencies> | |
9 | + <dependency> | |
10 | + <groupId>commons-collections</groupId> | |
11 | + <artifactId>commons-collections</artifactId> | |
12 | + <version>3.2</version> | |
13 | + <scope>compile</scope> | |
14 | + </dependency> | |
15 | + <dependency> | |
16 | + <groupId>junit</groupId> | |
17 | + <artifactId>junit</artifactId> | |
18 | + <version>4.+</version> | |
19 | + <scope>test</scope> | |
20 | + </dependency> | |
21 | + <dependency> | |
22 | + <groupId>mirrg</groupId> | |
23 | + <artifactId>mirrg-event-nitrogen</artifactId> | |
24 | + <version>1.1</version> | |
25 | + <scope>compile</scope> | |
26 | + </dependency> | |
27 | + </dependencies> | |
28 | +</project> |
@@ -0,0 +1,1 @@ | ||
1 | +59e6a66f97aff89efc28b6e730bcf699 | |
\ No newline at end of file |
@@ -0,0 +1,1 @@ | ||
1 | +fd53c63f1c209b6eb5596b2f52a1e31f3066eb99 | |
\ No newline at end of file |
@@ -9,7 +9,8 @@ | ||
9 | 9 | <version>1.1</version> |
10 | 10 | <version>1.2</version> |
11 | 11 | <version>1.3</version> |
12 | + <version>1.4</version> | |
12 | 13 | </versions> |
13 | - <lastUpdated>20151003220811</lastUpdated> | |
14 | + <lastUpdated>20151011101237</lastUpdated> | |
14 | 15 | </versioning> |
15 | 16 | </metadata> |
@@ -1,1 +1,1 @@ | ||
1 | -e5e297ba8195cbe1e28e5b2bcb2eb691 | |
\ No newline at end of file | ||
1 | +45bf5bfc48e6109aa90dea6ea985b62f | |
\ No newline at end of file |
@@ -1,1 +1,1 @@ | ||
1 | -3508c4b626ccd8ec78188a4311115c4f63ff3b48 | |
\ No newline at end of file | ||
1 | +850ac05f5f42ce752f4044c5bd29369a00b9fdbe | |
\ No newline at end of file |
@@ -7,12 +7,12 @@ | ||
7 | 7 | project.group = 'mirrg' |
8 | 8 | project.archivesBaseName = 'mirrg.applet.nitrogen' |
9 | 9 | |
10 | -version = '1.3' | |
10 | +version = '1.4' | |
11 | 11 | |
12 | 12 | dependencies { |
13 | 13 | compile group: 'commons-collections', name: 'commons-collections', version: '3.2' |
14 | 14 | testCompile group: 'junit', name: 'junit', version: '4.+' |
15 | - compile group: 'mirrg', name: 'mirrg-event-nitrogen', version: '1.0' | |
15 | + compile group: 'mirrg', name: 'mirrg-event-nitrogen', version: '1.1' | |
16 | 16 | } |
17 | 17 | |
18 | 18 | /////////////////////////////////// |
@@ -28,11 +28,40 @@ | ||
28 | 28 | } |
29 | 29 | } |
30 | 30 | |
31 | +task sourcesJar(type: Jar, dependsOn:classes) { | |
32 | + classifier = 'sources' | |
33 | + from sourceSets.main.allSource | |
34 | +} | |
35 | + | |
36 | +task javadocJar(type: Jar, dependsOn:javadoc) { | |
37 | + classifier = 'javadoc' | |
38 | + from javadoc.destinationDir | |
39 | +} | |
40 | + | |
41 | +javadoc { | |
42 | + options.charSet = 'UTF-8' | |
43 | + options.encoding = 'UTF-8' | |
44 | +} | |
45 | + | |
46 | +artifacts { | |
47 | + archives sourcesJar | |
48 | + archives javadocJar | |
49 | +} | |
50 | + | |
31 | 51 | repositories { |
32 | 52 | mavenCentral() |
33 | 53 | maven { |
54 | + url '../../maven' | |
55 | + } | |
56 | + | |
57 | + // ★mirrgリポジトリのデフォルトURL | |
58 | + //maven { | |
59 | + // url 'http://hg.pf.osdn.jp/view/t/ta/tacticsrealize/mirrg.struct.hydrogen/raw-file/tip/maven' | |
60 | + //} | |
61 | + maven { | |
34 | 62 | url 'http://hg.pf.osdn.jp/view/t/ta/tacticsrealize/mirrg.applet.nitrogen/raw-file/tip/maven' |
35 | 63 | } |
64 | + | |
36 | 65 | } |
37 | 66 | |
38 | 67 | test { |
@@ -41,9 +70,22 @@ | ||
41 | 70 | |
42 | 71 | uploadArchives { |
43 | 72 | repositories { |
73 | + | |
74 | + // ★まとまったJarとしてフォルダ出力する場合 | |
75 | + //flatDir { | |
76 | + // dirs 'repos' | |
77 | + //} | |
78 | + | |
79 | + // ★mavenプロジェクトとして出力する場合 | |
44 | 80 | mavenDeployer { |
45 | 81 | pom.artifactId = project.archivesBaseName.replace('.', '-') |
46 | 82 | repository(url: 'file://localhost/' + file('../../maven').getAbsolutePath()) |
47 | 83 | } |
84 | + | |
48 | 85 | } |
49 | 86 | } |
87 | + | |
88 | +// ★まとまったJarとしてフォルダ出力する場合 | |
89 | +//jar { | |
90 | +// from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | |
91 | +//} |