Skip to content

Commit be95dbb

Browse files
committed
Gradle: remove shadow jar.
1 parent 315d734 commit be95dbb

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,17 @@ Java client library for accessing the HTTP API of [Typesense](https://typesense.
66

77
The client is available on Maven central:
88

9+
```groovy
10+
dependencies {
11+
implementation 'org.typesense:typesense-java:0.0.10'
12+
}
13+
```
14+
915
```xml
1016
<dependency>
1117
<groupId>org.typesense</groupId>
1218
<artifactId>typesense-java</artifactId>
13-
<version>0.0.8</version>
19+
<version>0.0.10</version>
1420
</dependency>
1521
```
1622

build.gradle

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2-
31
plugins {
42
id 'java'
53
id 'signing'
@@ -13,27 +11,17 @@ repositories {
1311
}
1412

1513
group = 'org.typesense'
16-
version = '0.0.9-beta9'
14+
version = '0.0.10'
1715
sourceCompatibility = 1.8
1816
targetCompatibility = 1.8
1917

20-
shadowJar {
21-
archiveBaseName.set("typesense-java")
22-
mergeServiceFiles()
23-
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
24-
18+
jar {
2519
manifest {
2620
attributes(
2721
"Main-Class": "org.typesense.api.Client",
2822
"Multi-Release": "true"
2923
)
3024
}
31-
32-
// @see https://youtrack.jetbrains.com/issue/KT-25709
33-
exclude("**/*.kotlin_metadata")
34-
35-
// remove suffix `-all` as intellij can't find the library otherwise
36-
archiveClassifier.set("")
3725
}
3826

3927
sourceSets {

0 commit comments

Comments
 (0)