Skip to content

Commit

Permalink
Setup for jcenter deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnovegorv committed Dec 1, 2020
1 parent 1a6d101 commit 5c87d2b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ png rasters, that can be served by your web server controllers.

## Installation

Library resides in jcenter repository. Use this line in case you use gradle:
```
implementation 'ru.itmo.idu:kotlin-tile-renderer:1.0.0
```
## Usage

The main entry point for the library is the TileRenderer class. It takes providers for geometries and styles
Expand Down
19 changes: 16 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ repositories {
maven {
url = "https://repo.osgeo.org/repository/release/"
}
maven {
url = "https://dl.bintray.com/esmirnov/urban-research-lab-oss/"
}
jcenter()
mavenCentral()
}

Expand All @@ -39,10 +37,25 @@ dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}

task sourcesJar(type: Jar) {
from sourceSets.main.allJava
classifier "sources"
}

publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourcesJar
groupId 'ru.itmo.idu'
artifactId 'kotlin-tile-renderer'
version '1.0.0'
pom.withXml {
def root = asNode()
root.appendNode('name', 'kotlin-tile-renderer')
root.appendNode('url', 'https://github.com/Urban-Research-Lab/kotlin-tile-renderer')
root.appendNode('description', 'Library for rendering XYZ raster tiles from JTS Geometry objects')
}
}
}
}
Expand Down

0 comments on commit 5c87d2b

Please sign in to comment.