Comments (2)
Hello Jonathan,
for project mode currently, there is a workaround to include non web dependencies:
- Add in lib/external all the jar files (you can get all the jar files depencies through Maven or Gradle in another project)
- Go to the lib/external and after "generate" the stuff for flix.toml: e.g. in lib/external command line: println ""%s" = "url:https://dummy.org/anonymous.jar\"\n " $(ls -1 *.jar)
- Copy paste in the [jar-dependencies] the result of the command above
You should have something like:
[jar-dependencies]
"foo.jar" = "url:https://dummy.org/anonymous.jar"
"bar.jar" = "url:https://dummy.org/anonymous.jar"
etc...
(the compiler checks if the files mentionned in flix.toml are in lib/external or not. If not Flix tries to download them)
from flix.
I would propose to sync how VSCode and flix.toml is handled.
In addition, I would add support for local JARs to flix.toml
from flix.
Related Issues (20)
- Effect Aware Package Management
- Split `Ast.Input` into more cases
- Add permission support to `flix.toml` HOT 4
- Add support for `InvokeMethod2` to `Parser2` and `Weeder2` HOT 2
- Add type inference for `InvokeMethod2` HOT 1
- Add `InvokeConstructor2` and `InvokeStaticMethod2` to frontend HOT 5
- Extend Method Resolution HOT 1
- Compiler crash: Type error HOT 2
- Alternative representation of Java types HOT 5
- Parser: `SourceLocation` on declarations is imprecise.
- Add automatic derivation of coerce HOT 4
- Code Actions for pattern matching
- Checking of user-defined-operations HOT 8
- Slim Flix fatjar
- SemVer specification HOT 1
- Upgrade dependencies
- Parser: Handle empty singleton enums HOT 2
- Comparison toInt/fromInt32
- Describe arguments to subcommands
- Parser2: Parser is stuck HOT 1
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 flix.