File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
src/main/java/com/telerik Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' java-library'
2
2
3
+ def version = " 2.0.0"
4
+
3
5
project. ext. extractedDependenciesDir = " jar-files"
4
6
if (project. hasProperty(" jarsOutput" )) {
5
7
project. ext. extractedDependenciesDir = project. ext. jarsOutput
34
36
// set main class for the jar
35
37
manifest {
36
38
attributes ' Main-Class' : ' com.telerik.Main'
39
+ attributes ' Specification-Version' : version
40
+ attributes ' Manifest-Version' : version
37
41
}
38
42
}
39
43
Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ public static void main(String[] args) throws Exception {
30
30
31
31
long startTime = System .currentTimeMillis ();
32
32
33
+ Package p = Main .class .getPackage ();
34
+ System .out .println ("Android d.ts Generator Version : "
35
+ + p .getSpecificationVersion ());
36
+
33
37
new Generator ().start (inputParameters );
34
38
35
39
long stopTime = System .currentTimeMillis ();
You can’t perform that action at this time.
0 commit comments