Comments (13)
I was able to successfully add this to another project without jitpack! I am going to close this issue for now. I only am on JCenter should I also mirror to maven central?
from support-optional.
I haven't put anything on jCenter, but I will see how hard that is. Should be easy. I would think/hope so.
from support-optional.
@dmstocking It is indeed really easy. I did this couple of days before. You will just need to wait day or two before they approve your package.
I have done it via Bintray Gradle Plugin, publishing via bintrayUpload
task
Barebones gradle.build
script:
buildscript {
repositories {
jcenter()
}
}
plugins {
id "com.jfrog.bintray" version "1.7.3"
}
group 'your.group'
version 'a.b.c'
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'
sourceCompatibility = 1.7
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
groupId 'your.group'
artifactId 'your-artifact'
version 'a.b.c'
}
}
}
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_API_KEY')
publications = ['mavenJava']
dryRun = false
publish = true
override = true
pkg {
repo = 'YourGreatRepo'
name = 'your-artifact'
version {
name = 'a.b.c'
released = new Date()
}
}
}
from support-optional.
I think I have done the necessary work for it to be added to jcenter. Guess we will wait and see. I was displeased I couldn't choose a username when I signed up via my google lol. Whatever I guess https://bintray.com/buttink/support-optional/support-optional
from support-optional.
@dmstocking I tried to compile 'com.github.dmstocking:support-optional:1.1'
, but in IntelliJ's Gradle view under project dependencies list I see support-optional-1.1.jar-com.github.dmstocking:support-optional:1.1
instead of regular com.github.dmstocking:support-optional:1.1
from support-optional.
So bintray sent me an email and I need to also include a pom file to get included to jcenter. So I am going to figure out whatever I need to do (or probably fix) to get that included. This is the change set if anyone is interested c548bfb
from support-optional.
@dmstocking in my case pom.xml
was included by default
from support-optional.
For anyone watching, I am still trying to get this done. I have just been busy with work, taxes, fixing my car, fixing my house, not going insane :)
from support-optional.
First of all, thanks for this library :) Any news on this?
from support-optional.
So I figured out how to do the sources.jar and then made a version 1.2 (because I totally forgot about this and can't edit 1.1 because it's 180 days old. I am waiting to hear back about being added to JCenter.
from support-optional.
Pushed the code to include the *-sources.jar. Going to wait before tagging the commit as release 1.2 just in case I have to change something else for JCenter. Sorry I took so long for this. I am happy you actually use the library though. 😃
from support-optional.
Cool, thanks, please let me know when it's solved :) Also I really like the concept of being easy to replace with the Java8 Optional 👍
from support-optional.
from support-optional.
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 support-optional.