Comments (3)
@petrukhnov Could you please elaborate on your issue description.
from gradle-launch4j.
E.g. I want to include all libs into .exe, so it will result in single file. Now it creates exe file and folder with libs.
Anyway I ended up with next config:
launch4j {
mainClassName = project.mainClassName
}
jar {
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
manifest {
attributes(
'Implementation-Version': project.version,
'Main-Class': project.mainClassName)
}
}
from gradle-launch4j.
Launch4j were not designed for that purpose. Though you could use a fat-jar mechanism containing your libraries. An example configuration is given in #6.
from gradle-launch4j.
Related Issues (20)
- Invalid data: Minimum JRE version should be x.x.x[_xx] HOT 5
- Entry <xxx> is a duplicate but no duplicate handling strategy has been set HOT 10
- AbstractMethodError using version 2.5.2 with gradle 6
- Build for Linux OS HOT 1
- Gradle 7 support HOT 3
- Created EXE needs admin-privileges to be run HOT 2
- add support for gradle configuration cache HOT 1
- Launch4jLibraryTask broken with Gradle 8+
- Plans to update to Launch4j 3.50 HOT 11
- Add support for not specifying a jar file HOT 2
- `copyConfigurable` shows a warning HOT 15
- classpath property issue HOT 3
- Version 3 should not require the presence of the jar plugin
- Unable to use empty `libraryDir` with latest version HOT 3
- It should be possible to define a Wrapper Manifest
- Gradle tries to download launch4j 3.0.3 plugin from jcenter HOT 3
- Question: Differences between 2.5.4 and 3.0.+ versions? HOT 4
- Improved diagnosis possibilitites / output of the launch4j process HOT 4
- No such field error after upgrading 2.5.4 -> 3.0.4 HOT 1
- Build fails with error: "Original filename exceeds the maximum length of 50 characters" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-launch4j.