Skip to content

Commit 25ba4dc

Browse files
committed
remove bintray plugin, update dependencies and increment version
1 parent 7684d5e commit 25ba4dc

File tree

2 files changed

+8
-29
lines changed

2 files changed

+8
-29
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,26 @@ For example, one could create a mode that manages a transaction when executing a
99
### Gradle
1010
```
1111
repositories {
12-
jcenter()
12+
maven { url "https://jitpack.io" }
1313
}
1414
1515
dependencies {
16-
implementation "net.robinfriedli:exec:1.2"
16+
implementation "com.github.robinfriedli:exec:1.2.1"
1717
}
1818
```
1919

2020
### Maven
2121
```
2222
<dependency>
23-
<groupId>net.robinfriedli</groupId>
23+
<groupId>com.github.robinfriedli</groupId>
2424
<artifactId>exec</artifactId>
25-
<version>1.2</version>
25+
<version>1.2.1</version>
2626
<type>pom</type>
2727
</dependency>
2828
2929
<repository>
30-
<id>jcenter</id>
31-
<name>jcenter-bintray</name>
32-
<url>https://jcenter.bintray.com</url>
30+
<name>jitpack.io</name>
31+
<url>https://jitpack.io</url>
3332
</repository>
3433
```
3534

build.gradle

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ plugins {
22
id "java"
33
id "org.jetbrains.kotlin.jvm" version "1.4.10"
44
id "maven-publish"
5-
id "com.jfrog.bintray" version "1.8.4"
65
}
76

87
group = "net.robinfriedli"
9-
version = "1.2"
8+
version = "1.2.1"
109
sourceCompatibility = "8"
1110
targetCompatibility = "8"
1211

@@ -19,7 +18,7 @@ repositories {
1918
dependencies {
2019
implementation "org.jetbrains.kotlin:kotlin-stdlib"
2120

22-
testCompile "org.testng:testng:7.3.0"
21+
testCompile "org.testng:testng:7.4.0"
2322
}
2423

2524
test {
@@ -49,22 +48,3 @@ publishing {
4948
}
5049
}
5150
}
52-
53-
def bintrayProperties = new Properties()
54-
def bintrayPropertiesFile = file("src/main/resources/bintray.properties")
55-
if (bintrayPropertiesFile.exists()) {
56-
bintrayPropertiesFile.withInputStream { bintrayProperties.load(it) }
57-
} else {
58-
bintrayProperties.setProperty("bintray.user", "empty")
59-
bintrayProperties.setProperty("bintray.key", "empty")
60-
}
61-
62-
bintray {
63-
user = bintrayProperties.get("bintray.user")
64-
key = bintrayProperties.get("bintray.key")
65-
publications = ["maven"]
66-
pkg {
67-
repo = rootProject.group
68-
name = "exec"
69-
}
70-
}

0 commit comments

Comments
 (0)