Comments (14)
Hmm... uploads aren't working for me through command line or the web interface right now. I'll try again tomorrow.
from dexcount-gradle-plugin.
+1
from dexcount-gradle-plugin.
https://oss.sonatype.org/service/local/staging/deploy/maven2 is still returning 500 when I try to upload to it, and uploads through the web interface never complete. Any ideas?
from dexcount-gradle-plugin.
Use jcenter
On Nov 2, 2015 10:24 AM, "AJ Alt" [email protected] wrote:
https://oss.sonatype.org/service/local/staging/deploy/maven2 is still
returning 500 when I try to upload to it, and uploads through the web
interface never complete. Any ideas?—
Reply to this email directly or view it on GitHub
#26 (comment)
.
from dexcount-gradle-plugin.
Sounds like a Sonatype problem; you can post a JIRA issue, Joel is pretty good about responding. Probably he messed up your access when he removed mine.
from dexcount-gradle-plugin.
I just thought of something else. The build script expects credentials named SONATYPE_NEXUS_USERNAME
and SONATYPE_NEXUS_PASSWORD
. This is different from MultiStateAnimation, which expects NEXUS_USERNAME
and NEXUS_PASSWORD
.
I set it up that way because I had a personal login already on my system with the shorter names. You may not have the longer names configured - if not, there's no reason to keep the current config.
from dexcount-gradle-plugin.
Those variables weren't defined, but defining them in my system gradle.properties still results in a 401 response.
from dexcount-gradle-plugin.
Assuming that those credentials are making it over the wire (squint at the --verbose
output, grep for Authorization
), then it is in fact a Sonatype problem.
@jaredsburrows I'd avoided jcenter when setting this project up for two reasons. One, although they mirror Maven Central, I'm not sure that the reverse is true - meaning that jcenter distribution is potentially more limited in reach. Two, I personally find their marketing/advocacy/evangelism to be less than honest so I'm just less inclined to trust them generally.
However.
Given the difficulty in making a release via Maven Central, it could be worth investigating. They advertise themselves as an easier deploy target - whether or not that's actually true!
from dexcount-gradle-plugin.
The gradle output is pretty useless
12:26:20.803 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@22a4cd718 pairs: {null: HTTP/1.1 401 Unauthorized}{Date: Tue, 03 Nov 2015 20:26:20 GMT}{Server: nginx}{WWW-Authenticate: BASIC realm="Sonatype Nexus Repository Manager"}{X-Content-Type-Options: nosniff}{X-Frame-Options: SAMEORIGIN}{Content-Length: 0}{Connection: keep-alive}
I've got a ticket open, so I'll keep you updated.
I agree that bintray is shady, and I'd prefer to avoid them. When I did look into them for MultiStateAnimation, their deployment process wasn't even any easier. If you want to switch hosts, I'd recommend jitpack, since no deployments are necessary with them. If you decide to go that route, let me know and I'll create a pull request for it.
from dexcount-gradle-plugin.
Well, command line is still busted, and the support isn't able to help. Manual upload through the website is also still broken, but apparently only on firefox. I think I was able to do the upload manually with chrome.
from dexcount-gradle-plugin.
+1
from dexcount-gradle-plugin.
@ajalt Would it make sense for me to have permission to push releases myself? I'd like to get this un-stuck, and at the same time feel bad putting it all on your shoulders. If you think it makes sense, let's see what @philippb thinks. I'm not sure how fine-grained we can get Sonatype permissions - it's a Joel question. One option could be to have him create a sub-group com.getkeepsafe.dexcount
, if possible.
from dexcount-gradle-plugin.
I wasn't clear enough in my last post, but I was able to upload 0.3.0 manually through the web interface, so you should be good to go for this release. I'll see about getting you push permissions for the future.
from dexcount-gradle-plugin.
Oh, my mistake - I see it now. Thanks for your help!
from dexcount-gradle-plugin.
Related Issues (20)
- Split DexCountTask into package-tree-producing and stdout-printing tasks
- Add a high-fidelity serialized format for PackageTree HOT 1
- Github CI actions
- Serialized PackageTree is too big on disk HOT 2
- Document new minimum Gradle version
- Document new minimum AGP version
- Move DexMethodCountPluginSpec to integrationTest sources
- Crash when running in Android Studio 4.0.1
- The new count* tasks do not upload the Proguard mapping file to Crashlytics HOT 1
- Build fails with AS 4.2-Canary HOT 4
- [AGP 4.2+] java.lang.NoSuchMethodError: 'void com.android.build.api.dsl.ApplicationExtension.onVariantProperties(kotlin.jvm.functions.Function1)' HOT 12
- Convert to Java, use Worker API HOT 4
- Release version with AGP 7.0 support. HOT 5
- Plugin Extensions property getters clash with fields when used in Groovy HOT 2
- Build failure with 3.x.x HOT 5
- I have an error: "Cannot convert relative path summary.csv to an absolute file. " HOT 6
- Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'OutputFormat' for extension 'dexcount' of type com.getkeepsafe.dexcount.DexCountExtension. HOT 8
- [Feature Request] Allow Dexcount Gradle plugin to be configured from "plugins" DSL HOT 4
- Consider dropping support for AGP < 4.1 HOT 1
- OutputFormat configuration not clear defined in the documentation 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 dexcount-gradle-plugin.