Skip to content

3.x: Move Gradle properties into gradle.properties file #7260

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

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
8 changes: 2 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,11 @@ if (releaseTag != null && !releaseTag.isEmpty()) {
if (releaseTag.startsWith("v")) {
releaseTag = releaseTag.substring(1)
}
project.setProperty("VERSION_NAME" , releaseTag)
project.version = releaseTag

logger.info("Releasing with version: {}", version)
logger.lifecycle("Releasing with version: " + project.version)
}

group = "io.reactivex.rxjava3"
version = project.properties["VERSION_NAME"]
description = "RxJava: Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM."

repositories {
mavenCentral()
}
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
release.scope=patch
VERSION_NAME=3.0.0-SNAPSHOT
group=io.reactivex.rxjava3
version=3.0.0-SNAPSHOT
description=RxJava: Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.

GROUP=io.reactivex.rxjava3
POM_ARTIFACT_ID=rxjava
POM_NAME=RxJava
POM_PACKAGING=jar
Expand Down