Comments (4)
Hi @danielgindi ,
I investigated this issue and couldn't reproduce it.
- What Developer IDE did you use (Android Studio (3.3, 3.2, 3.1), Eclipse, IntelliJ IDEA, other)? Try to use Android Studio 3.3 Canary 3
- Something wrong in your build.gradle files, can you send them? If it's Open Source project can I look at it?
- Maybe it something like android gradle plugin should not conflict w/ java gradle plugin issue. Google won't fix it.
- I assigned developer for the small feature that can help you.
Thanks.
from gradlemavenpush.
Thanks for the quick response :-)
You can take a look here: https://github.com/danielgindi/android-helpers
It's a small "general utility" repo that I use in several projects to make life easier.
from gradlemavenpush.
Hi @danielgindi
Issue confirmed. It's not Kotlin bug. It's Gradle/Other plugins bug. We'll find workaround for it for our plugin someday... :(
You can add POM_PACKAGING
(default is "aar" for Gradle Android Artifacts and "jar" for Gradle Java Artifacts and Gradle Kotlin Artifacts) and change it's value. Depends on Gradle/Plugins versions this option:
- Changes
<packaging>
tag in the generated pom file only; - Changes main artifact file extension and
<packaging>
tag in the generated pom file; - Changes main artifact and it's asc file extensions and changes
<packaging>
tag in the generated pom file.
IMPORTANT! In your project POM_PACKAGING
doesn't generate JAR library, it only changes file extension of AAR library from aar to jar
We added 2 options for you and others:
- Add
ANDROID_JAR_ARTIFACT
(default is "false") and set it to "true" to generate Gradle Android Artifact jar. You'll get bothPOM_PACKAGING
value (default is "aar" for Gradle Android Artifacts) and "jar" artifacts in your Android library project. - Add
FATJAR_ARTIFACT
(default is "false") and set it to "true" to generate fatjar. You'll get bothPOM_PACKAGING
value (default is "aar" for Gradle Android Artifacts and "jar" for Gradle Java Artifacts and Gradle Kotlin Artifacts) and "fatjar" artifacts.
I sent Pull Request to your library with updated properties - danielgindi/android-helpers#1
Thanks
from gradlemavenpush.
Thank you very much! You even surprised with a PR :-)
I tried now and it published successfully!
from gradlemavenpush.
Related Issues (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 gradlemavenpush.