File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ xtend-gen/
8
8
* .settings
9
9
.DS_Store
10
10
11
- / .README.md.html
12
- / make_exe.sh
13
- / wallet-key-tool .exe
14
- / wallet-key-tool .jar
11
+ .README.md.html
12
+ make_exe.sh
13
+ * .exe
14
+ * .jar
Original file line number Diff line number Diff line change @@ -8,18 +8,22 @@ buildscript {
8
8
}
9
9
}
10
10
11
+ version = " 1.4.2"
12
+ ext {
13
+ mainClassName = " prof7bit.bitcoin.wallettool.core.Main"
14
+ }
15
+
11
16
apply plugin : ' xtend'
12
17
apply plugin : ' java'
13
18
apply plugin : ' eclipse'
14
19
apply plugin : ' launch4j'
15
20
16
21
launch4j {
17
22
// for this task to work launch4j needs to be installed and on the PATH.
18
- mainClassName = " prof7bit.bitcoin.wallettool.core.Main"
23
+ mainClassName = project. mainClassName
24
+ outfile = project. name + " -" + project. version + " .exe"
19
25
}
20
26
21
- project. ext. mainClassName = " prof7bit.bitcoin.wallettool.core.Main"
22
-
23
27
repositories {
24
28
mavenCentral()
25
29
maven { url " https://raw.githubusercontent.com/bitcoin-solutions/mbhd-maven/master/releases" }
47
51
48
52
manifest {
49
53
attributes ' Main-Class' : project. mainClassName
54
+ attributes ' Version' : project. version
50
55
}
51
56
}
52
57
@@ -55,7 +60,3 @@ xtend {
55
60
xtendAsPrimaryDebugSource = false
56
61
hideSyntheticVariables = false
57
62
}
58
-
59
- // disable xtend debug info entirely
60
- tasks. installMainXtendDebugInfo. enabled = false
61
- compileJava. destinationDir = sourceSets. main. output. classesDir
You can’t perform that action at this time.
0 commit comments