Skip to content

Commit

Permalink
Update java to 1.0.0 and publish to jcenter
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedre committed Dec 17, 2016
1 parent c9cb735 commit df5a058
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 13 deletions.
10 changes: 4 additions & 6 deletions java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,19 @@ Adhan Java is written to be compatible with Java and Android devices of all api

## Usage

_Note - we intend to push this to jCenter in the near future insha'Allah, which should make this process much easier_.

To use this in your project, get the repository, then run `mvn install`. You can then use this in any gradle project by adding `mavenLocal()` under `repositories` and then using:
### Gradle

```
compile 'com.batoulapps.adhan:adhan:1.0-SNAPSHOT'
compile 'com.batoulapps.adhan:adhan:1.0.0'
```

or in any maven project using:
### Maven

```
<dependency>
<groupId>com.batoulapps.adhan</groupId>
<artifactId>adhan</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions java/adhan/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.batoulapps.adhan</groupId>
<version>1.0-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -42,4 +42,4 @@
<scope>test</scope>
</dependency>
</dependencies>
</project>
</project>
11 changes: 9 additions & 2 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.batoulapps.adhan</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<version>1.0.0</version>
<modules>
<module>adhan</module>
<module>samples</module>
Expand Down Expand Up @@ -46,4 +46,11 @@
</dependency>
</dependencies>
</dependencyManagement>
</project>

<distributionManagement>
<repository>
<id>adhan-repo-maven</id>
<url>https://api.bintray.com/maven/batoulapps/adhan/com.batoulapps.adhan/;publish=1</url>
</repository>
</distributionManagement>
</project>
6 changes: 3 additions & 3 deletions java/samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.batoulapps.adhan</groupId>
<version>1.0-SNAPSHOT</version>
<version>1.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -14,7 +14,7 @@
<dependency>
<groupId>com.batoulapps.adhan</groupId>
<artifactId>adhan</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
</dependencies>

Expand All @@ -38,4 +38,4 @@
</plugin>
</plugins>
</build>
</project>
</project>

0 comments on commit df5a058

Please sign in to comment.