This repository was archived by the owner on Aug 18, 2020. It is now read-only.
Commit 346d0b6
committed
Add exact gui jar file to the classpath instead of a wildcard
With the wildcard IntelliJ would only add the gui jar to the classpath after
a reload of the sbt project, because the gui jar does only exist after
an advanced build, but not at the normal import time.
With this commit IntelliJ will try to add the jar on the first reload/import
even tho it currently doesn't exist. That's not a problem, IntelliJ
will just ignore the nonexistent jar and once the advanced build has been
run IntelliJ will add the jar to the classpath without a reload.
Note that a reload is still required after the gui version number has changed!
This commit also drops the scala version suffix in the name of the gui jar
because it doesn't contain any scala code and having the scala suffix
in the name does not make any sense.1 parent 3d592d1 commit 346d0b6
File tree
2 files changed
+14
-6
lines changed- build/src/main/scala/org/codeoverflow/chatoverflow/build
2 files changed
+14
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
91 | | - | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
103 | | - | |
| 104 | + | |
| 105 | + | |
104 | 106 | | |
105 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
106 | 114 | | |
107 | 115 | | |
108 | 116 | | |
| |||
0 commit comments