Skip to content

Commit

Permalink
Release 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Drjacky committed Sep 11, 2022
1 parent 59c5e4b commit 4b8dbbc
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 4 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.0.1] - 2022-09-11

* Improve how to use the library

## [1.0.0] - 2022-09-03

* Release the first version after the migration

[Unreleased]: https://github.com/Drjacky/anticaptcha-kotlin/compare/v1.0.0...HEAD
[Unreleased]: https://github.com/Drjacky/anticaptcha-kotlin/compare/v1.0.1...HEAD

[1.0.1]: https://github.com/Drjacky/anticaptcha-kotlin/compare/v1.0.0...v1.0.1

[1.0.0]: https://github.com/Drjacky/anticaptcha-kotlin/tree/v1.0.0
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Access to Anti Captcha API v2 via Kotlin
## How to use 👣

- Add `https://jitpack.io` to your `build.gradle`
- `implementation 'com.github.Drjacky:anticaptcha-kotlin:$libVersion'`
- Where `$libVersion`
= [![libVersion](https://img.shields.io/github/release/Drjacky/anticaptcha-kotlin/all.svg?style=flat-square)](https://github.com/Drjacky/anticaptcha-kotlin/releases)
- Create an account [here](http://getcaptchasolution.com/kt1yavajcg)
- Set the client key by `setClientKey`
- Run the main function in the Main class
Expand Down
16 changes: 13 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ plugins {
kotlin("jvm") version "1.7.10"
}

group = "org.example"
version = "1.0-SNAPSHOT"
group = "app.web.drjacky"
version = "1.0.1"

repositories {
mavenCentral()
Expand All @@ -32,4 +32,14 @@ tasks.test {

tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
}

allprojects {
ext {
set("PUBLISH_GROUP_ID", "com.github.Drjacky")
set("PUBLISH_VERSION", version)
set("PUBLISH_ARTIFACT_ID", "anticaptcha-kotlin")
}
}

apply(from = "${rootProject.projectDir}/scripts/publish-mavencentral.gradle")
11 changes: 11 additions & 0 deletions scripts/publish-mavencentral.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apply plugin: 'maven-publish'

publishing {
publications {
release(MavenPublication) {
groupId PUBLISH_GROUP_ID
artifactId PUBLISH_ARTIFACT_ID
version PUBLISH_VERSION
}
}
}

0 comments on commit 4b8dbbc

Please sign in to comment.