Comments (3)
Yeah, indeed this would be very great. It seems very straight forward, just let Utils.groovy read these values from e.g. some properties file. This would be a great enhancement!
from scalajs-gradle.
Sadly, it doesn't seem to be as easy as that, because I have to keep the versions of the dependencies of the plugin and the project consistent (and I can't change the dependencies of the plugin when applying it).
I think the only solution would be to publish different versions of the plugin, and that's what I'm trying to do at the moment (it seems to be going well). Gradle isn't very accomodating though, as it doesn't allow cross-building for each scala / scalajs versions... So I wrote a script to do that, and we'll see how it goes.
I'll try to release it this weekend.
from scalajs-gradle.
I just released the version 0.3.0 of the plugin, with two different versions (one for Scala 2.11, an other for Scala 2.12), check the readme to see the syntax used. I did not release one for Scala 2.10, because reflection changed from 2.10 to 2.11 (and I use that to discover the tests). If there are requests, I may look into finding an other way to make it 2.10 compatible.
If you have any particular request (specific version for example), feel free to let me know!
from scalajs-gradle.
Related Issues (19)
- packageJSDependencies and jsDependencies HOT 2
- Configure an arbitrary JSEnv HOT 1
- Source maps by default HOT 1
- scalaJSSemantics HOT 2
- OptimizerOptions HOT 1
- scalajsp
- scalaJSJavaSystemProperties HOT 1
- Add support for cross-building projects HOT 2
- Launcher generation
- Copyright and license terms HOT 2
- Compiling with module support
- Other plugins for Scala compilation
- Add Support For commonJSModule
- This check doesn't work when having gradle run in deamon mode
- Support for newer versions of Scalajs HOT 2
- Upgrade scala dependency to 2.12.6
- Plugin overwriting scalaCompileOptions.additionalParameters
- Problem with JavaScript File Creation 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 scalajs-gradle.