Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to 1.4.0-beta01 #273

Merged
merged 3 commits into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 1 addition & 37 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ plugins {
alias libs.plugins.android.library apply false
alias libs.plugins.kotlin.android apply false
alias libs.plugins.kotlin.kover apply false
alias libs.plugins.maven.publish 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 @@ -22,39 +22,3 @@ 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 ""
}
}
8 changes: 8 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## Version 1.4.0

### 1.4.0-beta01

2024-10-05

#### Bug fixes

- Do not allow scrolling more than the layout size when `AlignmentLookup` is used: ([#270](https://github.com/rubensousa/DpadRecyclerView/pull/270))

### 1.4.0-alpha06

2024-09-05
Expand Down
9 changes: 1 addition & 8 deletions dpadrecyclerview-compose/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.compose)
alias(libs.plugins.carioca.allure)
alias(libs.plugins.maven.publish)
id 'org.jetbrains.dokka'
}

apply from: "$rootProject.projectDir/gradle/publish.gradle"
apply from: "$rootProject.projectDir/gradle/coverage.gradle"

android {
Expand Down Expand Up @@ -41,13 +41,6 @@ android {
jvmTarget = '1.8'
}

publishing {
singleVariant('release') {
withSourcesJar()
withJavadocJar()
}
}

}

dependencies {
Expand Down
16 changes: 1 addition & 15 deletions dpadrecyclerview-compose/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
LIBRARY_GROUP=com.rubensousa.dpadrecyclerview
LIBRARY_ARTIFACT=dpadrecyclerview-compose
# POM info
POM_PACKAGING=aar
POM_NAME=dpadrecyclerview-compose
POM_ARTIFACT_ID=dpadrecyclerview-compose
POM_DESCRIPTION=Compose extensions for DpadRecyclerView
POM_URL=https://github.com/rubensousa/dpadrecyclerview
POM_SCM_URL=https://github.com/rubensousa/dpadrecyclerview
POM_VCS_URL=https://github.com/rubensousa/dpadrecyclerview.git
POM_SCM_CONNECTION=scm:[email protected]:rubensousa/dpadrecyclerview.git
POM_SCM_DEV_CONNECTION=scm:[email protected]:rubensousa/dpadrecyclerview.git
POM_DEVELOPER_ID=rubensousa
POM_DEVELOPER_NAME=Rúben Sousa
POM_LICENSE_NAME=The Apache Software License, Version 2.0
POM_LICENSE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENSE_DIST=repo
POM_LICENSES=Apache-2.0
10 changes: 1 addition & 9 deletions dpadrecyclerview-testing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.carioca.allure)
alias(libs.plugins.maven.publish)
id 'org.jetbrains.dokka'
}

apply from: "$rootProject.projectDir/gradle/publish.gradle"
apply from: "$rootProject.projectDir/gradle/coverage.gradle"

android {
Expand Down Expand Up @@ -44,14 +44,6 @@ android {
targetSdk versions.targetSdkVersion
}


publishing {
singleVariant('release') {
withSourcesJar()
withJavadocJar()
}
}

}

dependencies {
Expand Down
Empty file.
16 changes: 1 addition & 15 deletions dpadrecyclerview-testing/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
LIBRARY_GROUP=com.rubensousa.dpadrecyclerview
LIBRARY_ARTIFACT=dpadrecyclerview-testing
# POM info
POM_PACKAGING=aar
POM_NAME=dpadrecyclerview-testing
POM_ARTIFACT_ID=dpadrecyclerview-testing
POM_DESCRIPTION=Testing extensions for DpadRecyclerView
POM_URL=https://github.com/rubensousa/dpadrecyclerview
POM_SCM_URL=https://github.com/rubensousa/dpadrecyclerview
POM_VCS_URL=https://github.com/rubensousa/dpadrecyclerview.git
POM_SCM_CONNECTION=scm:[email protected]:rubensousa/dpadrecyclerview.git
POM_SCM_DEV_CONNECTION=scm:[email protected]:rubensousa/dpadrecyclerview.git
POM_DEVELOPER_ID=rubensousa
POM_DEVELOPER_NAME=Rúben Sousa
POM_LICENSE_NAME=The Apache Software License, Version 2.0
POM_LICENSE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENSE_DIST=repo
POM_LICENSES=Apache-2.0
10 changes: 1 addition & 9 deletions dpadrecyclerview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.carioca.allure)
alias(libs.plugins.maven.publish)
id 'org.jetbrains.dokka'
}

apply from: "$rootProject.projectDir/gradle/publish.gradle"
apply from: "$rootProject.projectDir/gradle/coverage.gradle"

android {
Expand Down Expand Up @@ -44,14 +44,6 @@ android {
kotlinOptions {
jvmTarget = '1.8'
}

publishing {
singleVariant('release') {
withSourcesJar()
withJavadocJar()
}
}

}

dependencies {
Expand Down
16 changes: 1 addition & 15 deletions dpadrecyclerview/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
LIBRARY_GROUP=com.rubensousa.dpadrecyclerview
LIBRARY_ARTIFACT=dpadrecyclerview
# POM info
POM_PACKAGING=aar
POM_NAME=dpadrecyclerview
POM_ARTIFACT_ID=dpadrecyclerview
POM_DESCRIPTION=A RecyclerView built for Android TV as a replacement for Leanback's BaseGridView
POM_URL=https://github.com/rubensousa/dpadrecyclerview
POM_SCM_URL=https://github.com/rubensousa/dpadrecyclerview
POM_VCS_URL=https://github.com/rubensousa/dpadrecyclerview.git
POM_SCM_CONNECTION=scm:[email protected]:rubensousa/dpadrecyclerview.git
POM_SCM_DEV_CONNECTION=scm:[email protected]:rubensousa/dpadrecyclerview.git
POM_DEVELOPER_ID=rubensousa
POM_DEVELOPER_NAME=Rúben Sousa
POM_LICENSE_NAME=The Apache Software License, Version 2.0
POM_LICENSE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENSE_DIST=repo
POM_LICENSES=Apache-2.0
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class SelectionTest : DpadRecyclerViewTest() {
assertSelectedPosition(position = 0)
assertViewHolderSelected(position = 0, isSelected = true)

repeat(10) { index ->
repeat(5) { index ->
KeyEvents.pressDown()
assertViewHolderSelected(position = index, isSelected = false)
assertSelectedPosition(position = index + 1)
Expand Down
19 changes: 18 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,21 @@ 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.4.0-alpha06

SONATYPE_HOST=S01
RELEASE_SIGNING_ENABLED=true

GROUP=com.rubensousa.dpadrecyclerview
VERSION_NAME=1.4.0-beta01
POM_URL=https://github.com/rubensousa/dpadrecyclerview/
POM_SCM_URL=https://github.com/rubensousa/dpadrecyclerview/
POM_SCM_CONNECTION=scm:git:git://github.com/rubensousa/dpadrecyclerview.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/rubensousa/dpadrecyclerview.git
POM_INCEPTION_YEAR=2024
POM_LICENCE_NAME=The Apache Software License, Version 2.0
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENCE_DIST=repo

POM_DEVELOPER_ID=rubensousa
POM_DEVELOPER_NAME=Ruben Sousa
POM_DEVELOPER_URL=https://github.com/rubensousa/
3 changes: 2 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "ko
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin-kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }
carioca-allure = { id = "com.rubensousa.carioca.report.allure", version.ref = "carioca-allure" }
maven-publish = { id = "com.vanniktech.maven.publish", version = "0.29.0" }

[libraries]
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appcompat" }
Expand Down Expand Up @@ -87,4 +88,4 @@ guava = { module = "com.google.guava:guava", version.ref = "guava" }
junit = { module = "junit:junit", version.ref = "test-junit" }
mockk = { module = "io.mockk:mockk", version.ref = "test-mockk" }
timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" }
truth = { module = "com.google.truth:truth", version.ref = "test-truth" }
truth = { module = "com.google.truth:truth", version.ref = "test-truth" }
Loading
Loading