Comments (4)
As you said, all working with config below, thanks for the help
java {
withSourcesJar()
withJavadocJar()
}
crossBuildScala_213(MavenPublication) {
artifact crossBuildScala_211Jar
artifact sourcesJar
artifact javadocJar
}
from gradle-crossbuild-scala.
...if this isn't possible I'm happy to look into a PR if I can get some pointers
from gradle-crossbuild-scala.
@richard-gibson Hi :)
I am not sure the plugin has this "currently under its wings" so to speak.
The plugin was written intentionally in such a way that the "standard" configuration is not touched by the plugin so you can generate javadoc and sources jar as you would otherwise.
I will be trying to simulate that in a test and hopefully come back with concrete usage example but if you have some specific feature/bug related to the interface between those tasks (javadoc, sources) and the plugin pleasedo refine this issue.
Cheers
from gradle-crossbuild-scala.
Hey,
Thanks so much for taking time to look at this. Just to clarify the end goal I'm trying to achieve is something like below
├── multiV_2.11
│ ├── maven-metadata-local.xml
│ └── 1.0.0
│ ├── multiV_2.11-1.0.0-javadoc.jar
│ ├── multiV_2.11-1.0.0-sources.jar
│ ├── multiV_2.11-1.0.0.jar
│ └── multiV_2.11-1.0.0.pom
├── multiV_2.12
│ ├── maven-metadata-local.xml
│ └── 1.0.0
│ ├── multiV_2.12-1.0.0-javadoc.jar
│ ├── multiV_2.12-1.0.0-sources.jar
│ ├── multiV_2.12-1.0.0.jar
│ └── multiV_2.12-1.0.0.pom
└── multiV_2.13
├── maven-metadata-local.xml
└── 1.0.0
├── multiV_2.13-1.0.0-javadoc.jar
├── multiV_2.13-1.0.0-sources.jar
├── multiV_2.13-1.0.0.jar
└── multiV_2.13-1.0.0.pom
If its better to take the components from the standard configuration and rename that's fine. I'm just not sure how easy that is with Maven config
from gradle-crossbuild-scala.
Related Issues (20)
- Current maintenance and development effort of plugin HOT 4
- Possible root cause for `SourceSet with name 'crossBuildScala_211' not found` HOT 5
- gradle 7 support. HOT 1
- For an implementation dependency the compile scope is used instead of runtime scope in the generated pom HOT 1
- Test suite takes long time to complete
- Question: How to pass on extra information to subprojects? HOT 3
- When using Gradle Kotlin scripts and using the Plugin's ext property Exception is raised
- To add a task that will run all cross build jar tasks in a bulk
- Plugin Building - allow project to publish to maven local
- Support Gradle shadow plugin
- Support for Scala 3 HOT 2
- pom dependency scopes correct for main build but incorrect for crossbuilds HOT 1
- Support incremental build HOT 4
- Emulating sbt's CrossVersion.for3Use2_13 HOT 1
- [Need help] Adding Scala 3 support to an existing Scala 2.xx gradle build HOT 2
- Set `-release` parameter instead of `-target` HOT 14
- Plugin wrongly replaces scala-library dependency with scala3-library_3 as part of dependency resolution
- Target compilation strategy names are confusing / misleading
- Add target compilation strategy none 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-crossbuild-scala.