Skip to content

Commit

Permalink
finetuned maven deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerbrandl committed May 2, 2017
1 parent f5bc59a commit 003189f
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 18 deletions.
18 changes: 2 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Support API for `kscript`
A support API written in Kotlin to simplify scripting with `[kscript](https://github.com/holgerbrandl/kscript)`


For documentation see [kscript](https://github.com/holgerbrandl/kscript#support-api)
**For documentation see [kscript manual](https://github.com/holgerbrandl/kscript#support-api)**


Support
Expand All @@ -26,25 +26,11 @@ Installation

To get started simply add it as a dependency via Jcenter:
```
compile "de.mpicbg.scicomp:krangl:0.4"
compile "de.mpicbg.scicomp:kscript:1.0"
```


License
-------

[MIT](LICENSE)


Developer Info
--------------


```bash
## to install to local maven repo
gradle install

## to run the tests
gradle test

```
13 changes: 11 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ uploadArchives {
}
}

install {
repositories.mavenInstaller {
pom.version = '1.0'
pom.artifactId = 'kscript'
// pom.group = 'de.mpicbg.scicomp'
}
}

//http://stackoverflow.com/questions/34377367/why-is-gradle-install-replacing-my-version-with-unspecified
group = 'kscript'
version = '1.0-SNAPSHOT'
group = 'de.mpicbg.scicomp'
version = '1.0'
//version = '1.0-SNAPSHOT'
32 changes: 32 additions & 0 deletions suport_api_notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Developer Info
--------------


```bash
## to install to local maven repo
gradle install

## to run the tests
gradle test

```

Release Checklist
-----------------

1. update version in build.gradle and README
2. push and create github release tag
3.
```
gradle install
```

4. create new version on jcenter

* Upload artifacts from `~/.m2/repository/de/mpicbg/scicomp/kscript` to:
> https://bintray.com/holgerbrandl/mpicbg-scicomp/kutils
5. Check for release status on
https://jcenter.bintray.com/de/mpicbg/scicomp/

6. Bump versions for new release cycle

0 comments on commit 003189f

Please sign in to comment.