Skip to content

Commit 4b8dbbc

Browse files
committed
Release 1.0.1
1 parent 59c5e4b commit 4b8dbbc

File tree

4 files changed

+34
-4
lines changed

4 files changed

+34
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,16 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
99

10+
## [1.0.1] - 2022-09-11
11+
12+
* Improve how to use the library
13+
1014
## [1.0.0] - 2022-09-03
1115

1216
* Release the first version after the migration
1317

14-
[Unreleased]: https://github.com/Drjacky/anticaptcha-kotlin/compare/v1.0.0...HEAD
18+
[Unreleased]: https://github.com/Drjacky/anticaptcha-kotlin/compare/v1.0.1...HEAD
19+
20+
[1.0.1]: https://github.com/Drjacky/anticaptcha-kotlin/compare/v1.0.0...v1.0.1
1521

1622
[1.0.0]: https://github.com/Drjacky/anticaptcha-kotlin/tree/v1.0.0

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Access to Anti Captcha API v2 via Kotlin
88
## How to use 👣
99

1010
- Add `https://jitpack.io` to your `build.gradle`
11+
- `implementation 'com.github.Drjacky:anticaptcha-kotlin:$libVersion'`
12+
- Where `$libVersion`
13+
= [![libVersion](https://img.shields.io/github/release/Drjacky/anticaptcha-kotlin/all.svg?style=flat-square)](https://github.com/Drjacky/anticaptcha-kotlin/releases)
1114
- Create an account [here](http://getcaptchasolution.com/kt1yavajcg)
1215
- Set the client key by `setClientKey`
1316
- Run the main function in the Main class

build.gradle.kts

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ plugins {
44
kotlin("jvm") version "1.7.10"
55
}
66

7-
group = "org.example"
8-
version = "1.0-SNAPSHOT"
7+
group = "app.web.drjacky"
8+
version = "1.0.1"
99

1010
repositories {
1111
mavenCentral()
@@ -32,4 +32,14 @@ tasks.test {
3232

3333
tasks.withType<KotlinCompile> {
3434
kotlinOptions.jvmTarget = "1.8"
35-
}
35+
}
36+
37+
allprojects {
38+
ext {
39+
set("PUBLISH_GROUP_ID", "com.github.Drjacky")
40+
set("PUBLISH_VERSION", version)
41+
set("PUBLISH_ARTIFACT_ID", "anticaptcha-kotlin")
42+
}
43+
}
44+
45+
apply(from = "${rootProject.projectDir}/scripts/publish-mavencentral.gradle")

scripts/publish-mavencentral.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
apply plugin: 'maven-publish'
2+
3+
publishing {
4+
publications {
5+
release(MavenPublication) {
6+
groupId PUBLISH_GROUP_ID
7+
artifactId PUBLISH_ARTIFACT_ID
8+
version PUBLISH_VERSION
9+
}
10+
}
11+
}

0 commit comments

Comments
 (0)