Skip to content

Commit

Permalink
Merge pull request #242 from rubensousa/1.3.0-rc03
Browse files Browse the repository at this point in the history
Bump to 1.3.0 rc03
  • Loading branch information
rubensousa authored Jul 23, 2024
2 parents b7c140f + 80d42ed commit fdf11e5
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr_skipped.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
matrix:
arch: [ x86 ]
target: [ android-tv ]
api-level: [ 27 ]
api-level: [27, 28, 29, 30, 31]
profile: [ tv_1080p ]
steps:
- run: 'echo "No build required"'
37 changes: 37 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ plugins {
alias libs.plugins.kotlin.android apply false
alias libs.plugins.kotlin.kover apply false
alias libs.plugins.androidx.navigation.safeargs apply false
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
id 'org.jetbrains.dokka' version '1.9.20'
id 'org.jetbrains.kotlinx.binary-compatibility-validator' version "0.14.0"
}
Expand All @@ -21,3 +22,39 @@ apiValidation {
ignoredProjects += ["sample", "dpadrecyclerview-test-fixtures"]
ignoredClasses += "com.rubensousa.dpadrecyclerview.BuildConfig"
}

nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
stagingProfileId = getSonatypeStagingId()
username = getSonatypeUsername()
password = getSonatypePassword()
}
}
}

String getSonatypeStagingId() {
if (hasProperty("ossrhStagingProfileId")) {
return ossrhStagingProfileId
} else {
return ""
}
}

String getSonatypeUsername() {
if (hasProperty("ossrhUsername")) {
return ossrhUsername
} else {
return ""
}
}

String getSonatypePassword() {
if (hasProperty("ossrhPassword")) {
return ossrhPassword
} else {
return ""
}
}
9 changes: 9 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

## Version 1.3.0

### 1.3.0-rc03

2024-07-23

#### Bug fixes

- Fixed layout inconsistency after some predictive animations ([#240](https://github.com/rubensousa/DpadRecyclerView/pull/240))
- Fixed rare crash when removing an item due to adapter changes while a scroll action is pending ([#240](https://github.com/rubensousa/DpadRecyclerView/pull/240))

### 1.3.0-rc02

2024-07-11
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ kotlin.code.style=official
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.enableR8.fullMode=true
LIBRARY_VERSION=1.3.0-rc02
LIBRARY_VERSION=1.3.0-rc03
27 changes: 0 additions & 27 deletions gradle/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,22 +92,6 @@ String getSecretKeyRingFilePath() {
}
}

String getSonatypeUsername() {
if (hasProperty("ossrhUsername")) {
return ossrhUsername
} else {
return ""
}
}

String getSonatypePassword() {
if (hasProperty("ossrhPassword")) {
return ossrhPassword
} else {
return ""
}
}

afterEvaluate { project ->
publishing {
publications {
Expand All @@ -119,17 +103,6 @@ afterEvaluate { project ->
configurePom(pom)
}
}
repositories {
maven {
name = "sonatype"
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"

credentials {
username getSonatypeUsername()
password getSonatypePassword()
}
}
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ theme:

extra:
dpadrecyclerview:
version: '1.3.0-rc02'
version: '1.3.0-rc03'
social:
- icon: 'fontawesome/brands/github'
link: 'https://github.com/rubensousa/DpadRecyclerView'
Expand Down

0 comments on commit fdf11e5

Please sign in to comment.