Skip to content

Commit

Permalink
remove bintray plugin, update dependencies and increment version
Browse files Browse the repository at this point in the history
  • Loading branch information
robinfriedli committed Dec 18, 2021
1 parent 7684d5e commit 25ba4dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 29 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,26 @@ For example, one could create a mode that manages a transaction when executing a
### Gradle
```
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
implementation "net.robinfriedli:exec:1.2"
implementation "com.github.robinfriedli:exec:1.2.1"
}
```

### Maven
```
<dependency>
<groupId>net.robinfriedli</groupId>
<groupId>com.github.robinfriedli</groupId>
<artifactId>exec</artifactId>
<version>1.2</version>
<version>1.2.1</version>
<type>pom</type>
</dependency>
<repository>
<id>jcenter</id>
<name>jcenter-bintray</name>
<url>https://jcenter.bintray.com</url>
<name>jitpack.io</name>
<url>https://jitpack.io</url>
</repository>
```

Expand Down
24 changes: 2 additions & 22 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ plugins {
id "java"
id "org.jetbrains.kotlin.jvm" version "1.4.10"
id "maven-publish"
id "com.jfrog.bintray" version "1.8.4"
}

group = "net.robinfriedli"
version = "1.2"
version = "1.2.1"
sourceCompatibility = "8"
targetCompatibility = "8"

Expand All @@ -19,7 +18,7 @@ repositories {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"

testCompile "org.testng:testng:7.3.0"
testCompile "org.testng:testng:7.4.0"
}

test {
Expand Down Expand Up @@ -49,22 +48,3 @@ publishing {
}
}
}

def bintrayProperties = new Properties()
def bintrayPropertiesFile = file("src/main/resources/bintray.properties")
if (bintrayPropertiesFile.exists()) {
bintrayPropertiesFile.withInputStream { bintrayProperties.load(it) }
} else {
bintrayProperties.setProperty("bintray.user", "empty")
bintrayProperties.setProperty("bintray.key", "empty")
}

bintray {
user = bintrayProperties.get("bintray.user")
key = bintrayProperties.get("bintray.key")
publications = ["maven"]
pkg {
repo = rootProject.group
name = "exec"
}
}

0 comments on commit 25ba4dc

Please sign in to comment.