Skip to content

Commit 55e17a0

Browse files
author
Piotr Joński
authored
Merge pull request #128 from sta-szek/70-Add-library-to-bintray,-jcenter-and-mavenCentral
70 add library to bintray, jcenter and maven central
2 parents 0745826 + b3cf43f commit 55e17a0

File tree

13 files changed

+106
-34
lines changed

13 files changed

+106
-34
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ notifications:
1212
on_success: change # options: [always|never|change] default: always
1313
on_failure: always # options: [always|never|change] default: always
1414
on_start: never # options: [always|never|change] default: always
15-
15+
1616
after_success:
17-
- bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN
17+
- bash <(curl -s https://codecov.io/bash)

README.MD

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ Get more information at [pojo-tester documentation site](http://pojo.pl)
66

77
If you have any questions, we can [![Gitter](https://badges.gitter.im/pojo-tester/Lobby.svg)](https://gitter.im/pojo-tester/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
88

9-
Build status is provided by [![Build Status](https://travis-ci.com/sta-szek/pojo-tester.svg?token=42sCZkoSqqk4rnv2AmRU&branch=master)](https://travis-ci.com/sta-szek/pojo-tester)
9+
Build status is provided by [![Build Status](https://travis-ci.org/sta-szek/pojo-tester.svg?branch=master)](https://travis-ci.org/sta-szek/pojo-tester)
1010

11-
Current coverage is [![codecov](https://codecov.io/gh/sta-szek/pojo-tester/branch/master/graph/badge.svg?token=YjQ8Z7Xyra)](https://codecov.io/gh/sta-szek/pojo-tester)
11+
Current coverage is [![codecov](https://codecov.io/gh/sta-szek/pojo-tester/branch/master/graph/badge.svg)](https://codecov.io/gh/sta-szek/pojo-tester)
12+
13+
Download latest version [![Download](https://api.bintray.com/packages/sta-szek/maven/pojo-tester/images/download.svg) ](https://bintray.com/sta-szek/maven/pojo-tester/_latestVersion)
1214

build.gradle

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@ import java.time.ZoneOffset
22
import java.time.ZonedDateTime
33
import java.time.format.DateTimeFormatter
44

5-
ext {
6-
JUNIT_JUPITER_VERSION = "5.0.0-SNAPSHOT"
7-
JUNIT_PLATFORM_VERSION = "1.0.0-SNAPSHOT"
8-
MOCKITO_VERSION = "2.1.0-RC.1"
9-
POWER_MOCK_UTILS_VERSION = "1.6.5"
10-
ASSERTJ_CORE_VERSION = "3.5.2"
11-
}
12-
135
buildscript {
146
repositories {
157
mavenCentral()
@@ -21,6 +13,18 @@ buildscript {
2113
}
2214
}
2315

16+
plugins {
17+
id "com.jfrog.bintray" version "1.7"
18+
}
19+
20+
ext {
21+
JUNIT_JUPITER_VERSION = "5.0.0-SNAPSHOT"
22+
JUNIT_PLATFORM_VERSION = "1.0.0-SNAPSHOT"
23+
MOCKITO_VERSION = "2.1.0-RC.1"
24+
POWER_MOCK_UTILS_VERSION = "1.6.5"
25+
ASSERTJ_CORE_VERSION = "3.5.2"
26+
}
27+
2428
apply plugin: 'java'
2529
apply plugin: 'idea'
2630
apply plugin: 'jacoco'
@@ -104,6 +108,25 @@ publishing.publications.all {
104108
}
105109
}
106110

111+
bintray {
112+
user = 'sta-szek'
113+
key = System.getenv('BINTRAY_API_KEY')
114+
pkg {
115+
repo = 'maven'
116+
name = 'pojo-tester'
117+
licenses = ['GPL-3.0']
118+
vcsUrl = 'https://github.com/sta-szek/pojo-tester.git'
119+
publications = ['mavenJava']
120+
version {
121+
name = version
122+
desc = 'Java pojo-methods testing library.'
123+
released = new Date();
124+
vcsTag = version
125+
attributes = ['gradle-plugin': 'com.use.less:com.use.less.gradle:gradle-useless-plugin']
126+
}
127+
}
128+
}
129+
107130
jar {
108131
manifest.attributes(createManifestAttributes())
109132
}

docs/comparison/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
911911
<script>
912912
var gitbook = gitbook || [];
913913
gitbook.push(function() {
914-
gitbook.page.hasChanged({"page":{"title":"Comparison","level":"1.4","depth":1,"next":{"title":"Other libraries","level":"1.4.1","depth":2,"anchor":"#other-libs","path":"comparison/README.md","ref":"comparison/README.md#other-libs","articles":[]},"previous":{"title":"Bulk pojos testing","level":"1.3.6","depth":2,"anchor":"#bulk-testing","path":"writing-tests/README.md","ref":"writing-tests/README.md#bulk-testing","articles":[]},"dir":"ltr"},"config":{"plugins":["anchors","toggle-chapters","sharing","editlink","share","sitemap","disqus","nocache","git-author","back-to-top-button","advanced-emoji","prettify-html","ga","github"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"nocache":{},"disqus":{"useIdentifier":false,"shortName":"pojo"},"github":{"url":"https://github.com/sta-szek/pojo-tester"},"editlink":{"label":"Edit This Page","multilingual":false,"base":"https://github.com/sta-szek/pojo-tester/edit/master/src/book"},"git-author":{"position":"bottom","modifyTpl":"Last modified by {user} {timeStamp}","createTpl":"Created by {user} {timeStamp}","timeStampFormat":"YYYY-MM-DD HH:mm:ss"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"sitemap":{"hostname":"https://pojo.pl/"},"back-to-top-button":{},"ga":{"configuration":"auto","token":"UA-84695813-1"},"advanced-emoji":{"embedEmojis":false},"sharing":{"all":["facebook","google","twitter","weibo","instapaper"],"facebook":true,"google":false,"instapaper":false,"twitter":true,"vk":false,"weibo":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"toggle-chapters":{},"prettify-html":{},"share":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"POJO-TESTER User Guide","gitbook":"*","description":"POJO-TESTER is java testing library, which makes your pojo methods tests much easier and more bulletproof!"},"file":{"path":"comparison/README.md","mtime":"2016-09-28T21:27:16.777Z","type":"markdown"},"gitbook":{"version":"3.2.1","time":"2016-09-30T14:57:38.459Z"},"basePath":"..","book":{"language":""}});
914+
gitbook.page.hasChanged({"page":{"title":"Comparison","level":"1.4","depth":1,"next":{"title":"Other libraries","level":"1.4.1","depth":2,"anchor":"#other-libs","path":"comparison/README.md","ref":"comparison/README.md#other-libs","articles":[]},"previous":{"title":"Bulk pojos testing","level":"1.3.6","depth":2,"anchor":"#bulk-testing","path":"writing-tests/README.md","ref":"writing-tests/README.md#bulk-testing","articles":[]},"dir":"ltr"},"config":{"plugins":["anchors","toggle-chapters","sharing","editlink","share","sitemap","disqus","nocache","git-author","back-to-top-button","advanced-emoji","prettify-html","ga","github"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"nocache":{},"disqus":{"useIdentifier":false,"shortName":"pojo"},"github":{"url":"https://github.com/sta-szek/pojo-tester"},"editlink":{"label":"Edit This Page","multilingual":false,"base":"https://github.com/sta-szek/pojo-tester/edit/master/src/book"},"git-author":{"position":"bottom","modifyTpl":"Last modified by {user} {timeStamp}","createTpl":"Created by {user} {timeStamp}","timeStampFormat":"YYYY-MM-DD HH:mm:ss"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"sitemap":{"hostname":"https://pojo.pl/"},"back-to-top-button":{},"ga":{"configuration":"auto","token":"UA-84695813-1"},"advanced-emoji":{"embedEmojis":false},"sharing":{"all":["facebook","google","twitter","weibo","instapaper"],"facebook":true,"google":false,"instapaper":false,"twitter":true,"vk":false,"weibo":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"toggle-chapters":{},"prettify-html":{},"share":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"POJO-TESTER User Guide","gitbook":"*","description":"POJO-TESTER is java testing library, which makes your pojo methods tests much easier and more bulletproof!"},"file":{"path":"comparison/README.md","mtime":"2016-10-01T20:49:19.299Z","type":"markdown"},"gitbook":{"version":"3.2.1","time":"2016-10-01T21:21:27.268Z"},"basePath":"..","book":{"language":""}});
915915
});
916916
</script>
917917
</div>

docs/contributors/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
604604
<script>
605605
var gitbook = gitbook || [];
606606
gitbook.push(function() {
607-
gitbook.page.hasChanged({"page":{"title":"Contributors","level":"1.5","depth":1,"next":{"title":"Release Notes","level":"1.6","depth":1,"path":"release-notes/README.md","ref":"release-notes/README.md","articles":[{"title":"Release 0.3.0","level":"1.6.1","depth":2,"anchor":"#release-0.3.0","path":"release-notes/README.md","ref":"release-notes/README.md#release-0.3.0","articles":[]},{"title":"Release 0.2.0","level":"1.6.2","depth":2,"anchor":"#release-0.2.0","path":"release-notes/README.md","ref":"release-notes/README.md#release-0.2.0","articles":[]},{"title":"Release 0.1.0","level":"1.6.3","depth":2,"anchor":"#release-0.1.0","path":"release-notes/README.md","ref":"release-notes/README.md#release-0.1.0","articles":[]}]},"previous":{"title":"Conclusions","level":"1.4.5","depth":2,"anchor":"#conclusions","path":"comparison/README.md","ref":"comparison/README.md#conclusions","articles":[]},"dir":"ltr"},"config":{"plugins":["anchors","toggle-chapters","sharing","editlink","share","sitemap","disqus","nocache","git-author","back-to-top-button","advanced-emoji","prettify-html","ga","github"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"nocache":{},"disqus":{"useIdentifier":false,"shortName":"pojo"},"github":{"url":"https://github.com/sta-szek/pojo-tester"},"editlink":{"label":"Edit This Page","multilingual":false,"base":"https://github.com/sta-szek/pojo-tester/edit/master/src/book"},"git-author":{"position":"bottom","modifyTpl":"Last modified by {user} {timeStamp}","createTpl":"Created by {user} {timeStamp}","timeStampFormat":"YYYY-MM-DD HH:mm:ss"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"sitemap":{"hostname":"https://pojo.pl/"},"back-to-top-button":{},"ga":{"configuration":"auto","token":"UA-84695813-1"},"advanced-emoji":{"embedEmojis":false},"sharing":{"all":["facebook","google","twitter","weibo","instapaper"],"facebook":true,"google":false,"instapaper":false,"twitter":true,"vk":false,"weibo":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"toggle-chapters":{},"prettify-html":{},"share":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"POJO-TESTER User Guide","gitbook":"*","description":"POJO-TESTER is java testing library, which makes your pojo methods tests much easier and more bulletproof!"},"file":{"path":"contributors/README.md","mtime":"2016-09-29T17:17:14.910Z","type":"markdown"},"gitbook":{"version":"3.2.1","time":"2016-09-30T14:57:38.459Z"},"basePath":"..","book":{"language":""}});
607+
gitbook.page.hasChanged({"page":{"title":"Contributors","level":"1.5","depth":1,"next":{"title":"Release Notes","level":"1.6","depth":1,"path":"release-notes/README.md","ref":"release-notes/README.md","articles":[{"title":"Release 0.3.0","level":"1.6.1","depth":2,"anchor":"#release-0.3.0","path":"release-notes/README.md","ref":"release-notes/README.md#release-0.3.0","articles":[]},{"title":"Release 0.2.0","level":"1.6.2","depth":2,"anchor":"#release-0.2.0","path":"release-notes/README.md","ref":"release-notes/README.md#release-0.2.0","articles":[]},{"title":"Release 0.1.0","level":"1.6.3","depth":2,"anchor":"#release-0.1.0","path":"release-notes/README.md","ref":"release-notes/README.md#release-0.1.0","articles":[]}]},"previous":{"title":"Conclusions","level":"1.4.5","depth":2,"anchor":"#conclusions","path":"comparison/README.md","ref":"comparison/README.md#conclusions","articles":[]},"dir":"ltr"},"config":{"plugins":["anchors","toggle-chapters","sharing","editlink","share","sitemap","disqus","nocache","git-author","back-to-top-button","advanced-emoji","prettify-html","ga","github"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"nocache":{},"disqus":{"useIdentifier":false,"shortName":"pojo"},"github":{"url":"https://github.com/sta-szek/pojo-tester"},"editlink":{"label":"Edit This Page","multilingual":false,"base":"https://github.com/sta-szek/pojo-tester/edit/master/src/book"},"git-author":{"position":"bottom","modifyTpl":"Last modified by {user} {timeStamp}","createTpl":"Created by {user} {timeStamp}","timeStampFormat":"YYYY-MM-DD HH:mm:ss"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"sitemap":{"hostname":"https://pojo.pl/"},"back-to-top-button":{},"ga":{"configuration":"auto","token":"UA-84695813-1"},"advanced-emoji":{"embedEmojis":false},"sharing":{"all":["facebook","google","twitter","weibo","instapaper"],"facebook":true,"google":false,"instapaper":false,"twitter":true,"vk":false,"weibo":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"toggle-chapters":{},"prettify-html":{},"share":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"POJO-TESTER User Guide","gitbook":"*","description":"POJO-TESTER is java testing library, which makes your pojo methods tests much easier and more bulletproof!"},"file":{"path":"contributors/README.md","mtime":"2016-10-01T20:49:19.302Z","type":"markdown"},"gitbook":{"version":"3.2.1","time":"2016-10-01T21:21:27.268Z"},"basePath":"..","book":{"language":""}});
608608
});
609609
</script>
610610
</div>

0 commit comments

Comments
 (0)