Comments (3)
Are there plans to implement something like this?
./gradlew build --add-modules=java.activation
This would be great in cases migration to java 9 modules is not yet feasible to make the project compile.
(package javax.activation is declared in module java.activation, which is not in the module graph by default in Java 9)
from gradle.
Similarly, continuous build could use com.sun.nio.file.SensitivityWatchEventModifier
and com.sun.nio.file.ExtendedWatchEventModifier
on Java 9 by using the jdk-unsupported
module, to remove the current caveats (https://docs.gradle.org/4.2/userguide/continuous_build.html#sec:continuous_build_limitations_jdk9)
See https://stackoverflow.com/q/46590600/116472 and 0e96ab6
from gradle.
Gradle 7.0 runs on JDK16 and has support to work with (compile, test, run) Java Modules. I think there is nothing left to do here. Please open a new issue for what concrete is missing in Gradle 7+ if any.
from gradle.
Related Issues (20)
- `GradleLifecycle.beforeProject` should notify listeners within a build operation
- `GradleLifecycle.beforeProject` must set correct evaluation context when notifying listeners
- Java API extraction ignores annotation default values
- Intermittent "Could not stop all services" build failures HOT 3
- jvm-test-suite - support depencency bundles HOT 7
- Warning when using type-safe project accessors in combination with 'buildSrc' HOT 1
- bro HOT 11
- Gradle writes classpath arg-file for workers in wrong encoding leading to workers immediately crashing HOT 2
- Show stack trace for configuration cache inputs
- Document that `ScalaCompileOptions.additionalParameters = null` changed behaviour
- Deprecate `Javadoc.isVerbose/setVerbose` and prefer verbose setting on `CoreJavadocOptions`
- Configure Kotlin Compiler Arguments for Kotlin DSL HOT 1
- Improve documentation about lenient HOT 1
- Incorrect deprecation warning when a project contains only disabled template tests HOT 1
- Add RootComponentIdentifier for root components
- HTTP range download for large dependencies HOT 13
- Investigate CC performance hotspots
- "Unable to make progress running work" when make build/rebuild from Android Studio HOT 2
- Gradle generates Kotlin DSL accessors for Configurations with invalid identifiers HOT 1
- Incorrect Kotlin DSL examples for Java Toolchain config docs. 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 gradle.