Skip to content

Commit 37be68c

Browse files
committed
- update version to 1.1.0
- fix Stream interface not being public - add javadoc and sources tasks to pom.xml
1 parent f8297fe commit 37be68c

File tree

2 files changed

+45
-3
lines changed

2 files changed

+45
-3
lines changed

pom.xml

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<groupId>br.com.zbra</groupId>
99
<artifactId>android-linq</artifactId>
10-
<version>1.0.1</version>
10+
<version>1.1.0</version>
1111
<packaging>jar</packaging>
1212

1313
<dependencies>
@@ -19,7 +19,6 @@
1919
</dependency>
2020
</dependencies>
2121

22-
2322
<properties>
2423
<maven.compiler.source>1.7</maven.compiler.source>
2524
<maven.compiler.target>1.7</maven.compiler.target>
@@ -44,4 +43,47 @@
4443
<email>[email protected]</email>
4544
</developer>
4645
</developers>
46+
47+
<build>
48+
<pluginManagement>
49+
<plugins>
50+
<plugin>
51+
<groupId>org.apache.maven.plugins</groupId>
52+
<artifactId>maven-source-plugin</artifactId>
53+
<version>2.0.4</version>
54+
</plugin>
55+
<plugin>
56+
<groupId>org.apache.maven.plugins</groupId>
57+
<artifactId>maven-javadoc-plugin</artifactId>
58+
<version>2.3</version>
59+
</plugin>
60+
</plugins>
61+
</pluginManagement>
62+
<plugins>
63+
<plugin>
64+
<groupId>org.apache.maven.plugins</groupId>
65+
<artifactId>maven-source-plugin</artifactId>
66+
<executions>
67+
<execution>
68+
<id>attach-sources</id>
69+
<goals>
70+
<goal>jar</goal>
71+
</goals>
72+
</execution>
73+
</executions>
74+
</plugin>
75+
<plugin>
76+
<groupId>org.apache.maven.plugins</groupId>
77+
<artifactId>maven-javadoc-plugin</artifactId>
78+
<executions>
79+
<execution>
80+
<id>attach-javadocs</id>
81+
<goals>
82+
<goal>jar</goal>
83+
</goals>
84+
</execution>
85+
</executions>
86+
</plugin>
87+
</plugins>
88+
</build>
4789
</project>

src/main/java/br/com/zbra/androidlinq/Stream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* @param <T> the type of the wrapped {@code Iterable<T>}
1616
*/
17-
interface Stream<T> extends Iterable<T> {
17+
public interface Stream<T> extends Iterable<T> {
1818
/**
1919
* Filters a sequence of values based on a predicate.
2020
*

0 commit comments

Comments
 (0)