Skip to content

Commit

Permalink
gradlew update
Browse files Browse the repository at this point in the history
  • Loading branch information
oscar-besga-panel committed Sep 16, 2021
1 parent 46d9ede commit 7ebce6b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 29 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,26 @@ https://github.com/xetorthio/jedis

Made with
- Intellij
- Mackdown editor https://pandao.github.io/editor.md/en.html
- Draw io https://app.diagrams.net/
- Help from Stackoveflow, forums like https://groups.google.com/g/jedis_redis
- Mackdown editor [Editor.md](https://pandao.github.io/editor.md/en.html)
- Diagrams with [Draw io](https://app.diagrams.net/)
- Bages from [awesome-badges](https://github.com/badges/awesome-badges) and [badgen](https://badgen.net/) and [open-source-badges](https://github.com/ellerbrock/open-source-badges/)
- Help from Stackoveflow, forums like [Jedis redis forum](https://groups.google.com/g/jedis_redis)

See also
- Awesome-redis https://github.com/JamzyWang/awesome-redis
- And redis/jedis tutorial made by me https://github.com/oscar-besga-panel/YaitRedisAndJedis
- [Awesome-redis](https://github.com/JamzyWang/awesome-redis)
- And redis/jedis tutorial made by me [YaitRedisAndJedis](https://github.com/oscar-besga-panel/YaitRedisAndJedis)



## TODO
## TODOs

On branch ``develop/mapper`` I'm trying to make a POJO <-> RedisObject mapper to store objects in Redis directly.
It's barely working, so it is not production ready.

On branch ``cache`` I want to implement a javax.cache (JSR107 API and SPI 1.0.0 API) class based on redis; with the most simple
and straigthforward implementation



Help, suggestions, critics and tests will be greatly appreciated.

Expand Down
38 changes: 16 additions & 22 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
plugins {
id 'java'
id 'maven'
id 'maven-publish'
id 'jacoco'
id 'maven-publish'
}

group 'org.obapanel.jedis'
version '2.2.0'
version '2.4.0'

sourceCompatibility = 1.8
targetCompatibility = 1.8
Expand All @@ -16,19 +15,19 @@ repositories {
}

dependencies {
compile 'redis.clients:jedis:3.6.3'
compile 'org.slf4j:slf4j-api:1.7.32'
compile 'org.slf4j:slf4j-simple:1.7.32'
implementation 'redis.clients:jedis:3.6.3'
implementation 'org.slf4j:slf4j-api:1.7.32'
implementation 'org.slf4j:slf4j-simple:1.7.32'
implementation group: 'org.javassist', name: 'javassist', version: '3.28.0-GA'

testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.mockito', name: 'mockito-core', version: '2.28.2'
testCompile group: 'org.powermock', name: 'powermock-core', version: '2.0.9'
testCompile group: 'org.powermock', name: 'powermock-api-mockito2', version: '2.0.9'
testCompile group: 'org.powermock', name: 'powermock-module-junit4', version: '2.0.9'
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '2.28.2'
testImplementation group: 'org.powermock', name: 'powermock-core', version: '2.0.9'
testImplementation group: 'org.powermock', name: 'powermock-api-mockito2', version: '2.0.9'
testImplementation group: 'org.powermock', name: 'powermock-module-junit4', version: '2.0.9'

// sadly doesnt work
// testCompile 'com.github.fppt:jedis-mock:0.1.14'
// testImplementation 'com.github.fppt:jedis-mock:0.1.14'
}

jacocoTestReport {
Expand All @@ -39,20 +38,15 @@ jacocoTestReport {
}

publishing {

repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/oscar-besga-panel/InterruptingJedisLocks")
url = "https://maven.pkg.github.com/oscar-besga-panel/InterruptingJedisLocks"
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
publications {
gpr(MavenPublication) {
from(components.java)
}
}
}

}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 7ebce6b

Please sign in to comment.