Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Commit

Permalink
create & publish javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilszymanski committed Sep 3, 2014
1 parent ac35438 commit bc26c8b
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 8 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
1.1.0
-----
New features:
* adding new excluded version patterns to already excluded ones

Changes to plugin configuration DSL:
* removed `versionToExcludePatterns` method and property - use `addExcludedVersionPatterns` and `setExcludedVersionPatterns` methods instead
* removed `connectionTimeout` method - use `connectionTimeout` property instead

1.0.0
-----
New features:
Expand Down
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ buildscript {
jcenter()
}
dependencies {
classpath('com.ofg:uptodate-gradle-plugin:1.0.0')
classpath('com.ofg:uptodate-gradle-plugin:1.1.0')
}
}
```
Expand Down Expand Up @@ -72,10 +72,19 @@ There are also some patterns (like BETA, RC, etc.) defined in com.ofg.uptodate.U
By default following patterns are excluded: ALPHA, BETA, RC, CR, SNAPSHOT, MILESTONE, RELEASE( i.e. r08)

```
import static com.ofg.uptodate.VersionPatterns.*
uptodate {
versionToExcludePatterns [ ALPHA, BETA, '.*-demo-?\\d*$' ]
setExcludedVersionPatterns ALPHA, BETA, '.*-demo-?\\d*$'
}
```

You can also add your own patterns to the already excluded version patterns.

```
uptodate {
addExcludedVersionPatterns '.*-demo-?\\d*$'
}
```

### How to tune HTTP connections?
Expand Down
16 changes: 10 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ apply plugin: 'maven-publish'

group = 'com.ofg'
description = 'Core of UpToDate plugin'
version = '1.0.1-SNAPSHOT'
version = '1.1.0'

repositories {
mavenLocal()
Expand Down Expand Up @@ -47,10 +47,8 @@ publishing {
publications {
plugin(MavenPublication) {
from components.java

artifact sourcesJar {
classifier 'sources'
}
artifact sourcesJar
artifact javadocJar
}
}
}
Expand All @@ -72,13 +70,19 @@ bintray {
}
}

task sourcesJar(type: Jar, dependsOn:classes) {
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}

task javadocJar(type: Jar, dependsOn: groovydoc) {
classifier = 'javadoc'
from groovydoc.destinationDir
}

artifacts {
archives sourcesJar
archives javadocJar
}

if (project.hasProperty('coverage')) {
Expand Down

0 comments on commit bc26c8b

Please sign in to comment.