Skip to content
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
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId = "com.pedro.streamer"
minSdk = 16
targetSdk = 36
versionCode = libs.versions.versionCode.get().toInt()
versionName = libs.versions.versionName.get()
versionCode = project.version.toString().replace(".", "").toInt()
versionName = project.version.toString()
multiDexEnabled = true
}
buildTypes {
Expand Down
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
allprojects {
group = "com.github.pedroSG94"
version = "2.6.2"
}

plugins {
alias(libs.plugins.android.application) apply false
Expand Down
8 changes: 4 additions & 4 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrains.kotlin)
id(libs.plugins.maven.publish.get().pluginId)
alias(libs.plugins.jetbrains.dokka)
`maven-publish`
}

android {
Expand Down Expand Up @@ -40,9 +40,9 @@ afterEvaluate {
from(components["release"])

// You can then customize attributes of the publication as shown below.
groupId = libs.versions.libraryGroup.get()
artifactId = "common"
version = libs.versions.versionName.get()
groupId = project.group.toString()
artifactId = project.name
version = project.version.toString()
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions encoder/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrains.kotlin)
id(libs.plugins.maven.publish.get().pluginId)
alias(libs.plugins.jetbrains.dokka)
`maven-publish`
}

android {
Expand Down Expand Up @@ -42,9 +42,9 @@ afterEvaluate {
from(components["release"])

// You can then customize attributes of the publication as shown below.
groupId = libs.versions.libraryGroup.get()
artifactId = "encoder"
version = libs.versions.versionName.get()
groupId = project.group.toString()
artifactId = project.name
version = project.version.toString()
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions extra-sources/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrains.kotlin)
id(libs.plugins.maven.publish.get().pluginId)
alias(libs.plugins.jetbrains.dokka)
`maven-publish`
}

android {
Expand Down Expand Up @@ -39,9 +39,9 @@ afterEvaluate {
from(components["release"])

// You can then customize attributes of the publication as shown below.
groupId = libs.versions.libraryGroup.get()
artifactId = "extra-sources"
version = libs.versions.versionName.get()
groupId = project.group.toString()
artifactId = project.name
version = project.version.toString()
}
}
}
Expand Down
7 changes: 1 addition & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
[versions]
libraryGroup = "com.github.pedroSG94"
versionCode = "262"
versionName = "2.6.2"

#plugins versions
agp = "8.11.1"
agp = "8.12.0"
kotlin = "2.2.0"
dokka = "2.0.0"

Expand Down Expand Up @@ -43,7 +39,6 @@ androidx-media3-exoplayer = { module = "androidx.media3:media3-exoplayer", versi
[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
android-library = { id = "com.android.library", version.ref = "agp" }
maven-publish = { id = "maven-publish", version.ref = "agp" }
jetbrains-kotlin = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
jetbrains-dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" }

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Jun 26 11:05:20 CEST 2025
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
8 changes: 4 additions & 4 deletions library/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrains.kotlin)
id(libs.plugins.maven.publish.get().pluginId)
alias(libs.plugins.jetbrains.dokka)
`maven-publish`
}

android {
Expand Down Expand Up @@ -39,9 +39,9 @@ afterEvaluate {
from(components["release"])

// You can then customize attributes of the publication as shown below.
groupId = libs.versions.libraryGroup.get()
artifactId = "library"
version = libs.versions.versionName.get()
groupId = project.group.toString()
artifactId = project.name
version = project.version.toString()
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions rtmp/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrains.kotlin)
id(libs.plugins.maven.publish.get().pluginId)
alias(libs.plugins.jetbrains.dokka)
`maven-publish`
}

android {
Expand Down Expand Up @@ -39,9 +39,9 @@ afterEvaluate {
from(components["release"])

// You can then customize attributes of the publication as shown below.
groupId = libs.versions.libraryGroup.get()
artifactId = "rtmp"
version = libs.versions.versionName.get()
groupId = project.group.toString()
artifactId = project.name
version = project.version.toString()
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions rtsp/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrains.kotlin)
id(libs.plugins.maven.publish.get().pluginId)
alias(libs.plugins.jetbrains.dokka)
`maven-publish`
}

android {
Expand Down Expand Up @@ -43,9 +43,9 @@ afterEvaluate {
from(components["release"])

// You can then customize attributes of the publication as shown below.
groupId = libs.versions.libraryGroup.get()
artifactId = "rtsp"
version = libs.versions.versionName.get()
groupId = project.group.toString()
artifactId = project.name
version = project.version.toString()
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions srt/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrains.kotlin)
id(libs.plugins.maven.publish.get().pluginId)
alias(libs.plugins.jetbrains.dokka)
`maven-publish`
}

android {
Expand Down Expand Up @@ -39,9 +39,9 @@ afterEvaluate {
from(components["release"])

// You can then customize attributes of the publication as shown below.
groupId = libs.versions.libraryGroup.get()
artifactId = "srt"
version = libs.versions.versionName.get()
groupId = project.group.toString()
artifactId = project.name
version = project.version.toString()
}
}
}
Expand Down
9 changes: 4 additions & 5 deletions udp/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrains.kotlin)
id(libs.plugins.maven.publish.get().pluginId)
alias(libs.plugins.jetbrains.dokka)
`maven-publish`
}

android {
Expand Down Expand Up @@ -38,10 +38,9 @@ afterEvaluate {
// Applies the component for the release build variant.
from(components["release"])

// You can then customize attributes of the publication as shown below.
groupId = libs.versions.libraryGroup.get()
artifactId = "udp"
version = libs.versions.versionName.get()
groupId = project.group.toString()
artifactId = project.name
version = project.version.toString()
}
}
}
Expand Down