Skip to content

Commit 2c85715

Browse files
committed
[4.0.2] Adjusting a bunch of stuff on the release side of things
1 parent 5a3bfdd commit 2c85715

12 files changed

+8535
-17
lines changed

.run/Publish Distribution.run.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</option>
1111
<option name="taskNames">
1212
<list>
13-
<option value="clean" />
13+
<option value=":clean" />
1414
<option value=":publishToSonatype" />
1515
<option value=":closeAndReleaseSonatypeStagingRepository" />
1616
<option value=":publishJsPackageToNpmjsRegistry" />

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ that we can provide a better library/API for them. Please, feel free to share if
3939
## Installation
4040

4141
The library is available
42-
from [Maven Central](https://search.maven.org/artifact/io.github.g0dkar/qrcode-kotlin/4.0.1/qrcode-kotlin)
42+
from [Maven Central](https://search.maven.org/artifact/io.github.g0dkar/qrcode-kotlin/4.0.2/qrcode-kotlin)
4343
and [NPM JS](https://www.npmjs.com/package/qrcode-kotlin), so you can add it to your project as a dependency like any
4444
other:
4545

4646
**Gradle:**
4747

4848
```groovy
49-
implementation("io.github.g0dkar:qrcode-kotlin:4.0.1")
49+
implementation("io.github.g0dkar:qrcode-kotlin:4.0.2")
5050
```
5151

5252
**Maven:**
@@ -55,20 +55,20 @@ implementation("io.github.g0dkar:qrcode-kotlin:4.0.1")
5555
<dependency>
5656
<groupId>io.github.g0dkar</groupId>
5757
<artifactId>qrcode-kotlin-jvm</artifactId> <!-- or qrcode-kotlin-android -->
58-
<version>4.0.1</version>
58+
<version>4.0.2</version>
5959
</dependency>
6060
```
6161

6262
**NodeJS:**
6363

6464
```shell
65-
npm install [email protected].1
65+
npm install [email protected].2
6666
```
6767

6868
**Browser:**
6969

7070
```html
71-
<script src="https://cdn.jsdelivr.net/gh/g0dkar/[email protected].1/release/qrcode-kotlin.min.js" type="application/javascript"></script>
71+
<script src="https://cdn.jsdelivr.net/gh/g0dkar/[email protected].2/release/qrcodeKotlin.min.js" type="application/javascript"></script>
7272
```
7373

7474
## Usage
@@ -159,7 +159,7 @@ The main changes coming from `v3.3.0` are:
159159
3. A bunch of optimizations on how the QRCode is drawn. Previously, we'd had a canvas for each square, which would then
160160
be copied into the QRCode. This was changed to have just one large canvas where each square will be individually
161161
drawn directly.
162-
4. ![Experimental](https://img.shields.io/badge/Experimental-critical) iOS and tvOS Support: Starting from `v4.0.1` an
162+
4. ![Experimental](https://img.shields.io/badge/Experimental-critical) iOS and tvOS Support: Starting from `v4.0.2` an
163163
initial implementation of the `QRCodeGraphics` so that iOS and tvOS are now supported. **Any and
164164
all [feedback](https://github.com/g0dkar/qrcode-kotlin/issues/85) are very welcome!**
165165

README.pt-br.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ Por favor, sinta-se livre para compartilhar se e como você utiliza este projeto
3939
## Instalação
4040

4141
A biblioteca está disponível através
42-
da [Maven Central](https://search.maven.org/artifact/io.github.g0dkar/qrcode-kotlin/4.0.1/qrcode-kotlin) e
42+
da [Maven Central](https://search.maven.org/artifact/io.github.g0dkar/qrcode-kotlin/4.0.2/qrcode-kotlin) e
4343
do [NPM JS](https://www.npmjs.com/package/qrcode-kotlin), portanto basta adicioná-la a seu projeto como qualquer outra:
4444

4545
**Gradle:**
4646

4747
```groovy
48-
implementation("io.github.g0dkar:qrcode-kotlin:4.0.1")
48+
implementation("io.github.g0dkar:qrcode-kotlin:4.0.2")
4949
```
5050

5151
**Maven:**
@@ -54,20 +54,20 @@ implementation("io.github.g0dkar:qrcode-kotlin:4.0.1")
5454
<dependency>
5555
<groupId>io.github.g0dkar</groupId>
5656
<artifactId>qrcode-kotlin-jvm</artifactId> <!-- ou qrcode-kotlin-android -->
57-
<version>4.0.1</version>
57+
<version>4.0.2</version>
5858
</dependency>
5959
```
6060

6161
**NodeJS:**
6262

6363
```shell
64-
npm install [email protected].1
64+
npm install [email protected].2
6565
```
6666

6767
**Browser:**
6868

6969
```html
70-
<script src="https://cdn.jsdelivr.net/gh/g0dkar/[email protected].1/release/qrcode-kotlin.min.js" type="application/javascript"></script>
70+
<script src="https://cdn.jsdelivr.net/gh/g0dkar/[email protected].2/release/qrcodeKotlin.min.js" type="application/javascript"></script>
7171
```
7272

7373
## Uso
@@ -159,7 +159,7 @@ As principais mudanças vindo da versão `v3.3.0` são:
159159
quadrado, o qual era copiado no canvas do QRCode principal. Isto foi mudado para termos apenas um grande canvas onde
160160
cada quadrado individual será desenhado diretamente.
161161
4. ![Experimental](https://img.shields.io/badge/Experimental-critical) Suporte a iOS e tvOS: A partir da
162-
versão `v4.0.1`, uma implementação experimental inicial da classe `QRCodeGraphics` foi criada para que o iOS e tvOS
162+
versão `v4.0.2`, uma implementação experimental inicial da classe `QRCodeGraphics` foi criada para que o iOS e tvOS
163163
sejam suportados. **Todo e qualquer [feedback](https://github.com/g0dkar/qrcode-kotlin/issues/85) é muito bem-vindo!** (pode comentar em português mesmo)
164164

165165
## Licença

build.gradle.kts

+9
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,18 @@ signing {
310310
properties.getOrDefault("signing.password", System.getenv("SIGNING_PASSWORD"))?.toString() ?: return@signing
311311

312312
useInMemoryPgpKeys(key, password)
313+
sign(publishing.publications)
314+
}
315+
316+
// https://github.com/gradle/gradle/issues/26091
317+
tasks.withType<AbstractPublishToMaven>().configureEach {
318+
val signingTasks = tasks.withType<Sign>()
319+
mustRunAfter(signingTasks)
313320
}
314321

315322
npmPublish {
323+
readme.set(rootDir.resolve("README.md"))
324+
316325
registries {
317326
register("npmjs") {
318327
uri.set(uri("https://registry.npmjs.org"))

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=4.0.0
1+
version=4.0.2
22
kotlin.code.style=official
33

44
# JS

release/qrcode-kotlin-jvm-4.0.0.jar

-112 KB
Binary file not shown.

release/qrcode-kotlin-jvm-4.0.2.jar

116 KB
Binary file not shown.

release/qrcode-kotlin.js

-2
This file was deleted.

release/qrcode-kotlin.js.map

-1
This file was deleted.

0 commit comments

Comments
 (0)