diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index 973c210d..12851859 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -9,7 +9,7 @@ repositories { } dependencies { - implementation 'com.android.tools.build:gradle:8.1.2' + implementation 'com.android.tools.build:gradle:8.1.4' implementation 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.22' } diff --git a/gradle.properties b/gradle.properties index dc4ffd1b..b29883e9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=com.wealthfront -VERSION_NAME=2.2.7-beta +VERSION_NAME=2.2.8-SNAPSHOT POM_DESCRIPTION=The simplest navigation library for Android diff --git a/gradle/gradle-mvn-push.gradle b/gradle/gradle-mvn-push.gradle index 126e2023..91d1d6d9 100644 --- a/gradle/gradle-mvn-push.gradle +++ b/gradle/gradle-mvn-push.gradle @@ -81,28 +81,10 @@ afterEvaluate { project -> } } - if (project.getPlugins().hasPlugin('com.android.application') || - project.getPlugins().hasPlugin('com.android.library')) { - - task androidSourcesJar(type: Jar) { - archiveClassifier = 'sources' - from android.sourceSets.main.java.source - } - } - - artifacts { - if (project.getPlugins().hasPlugin('com.android.application') || - project.getPlugins().hasPlugin('com.android.library')) { - archives androidSourcesJar - } - } - publishing.publications.all { publication -> publication.groupId = GROUP publication.version = VERSION_NAME - publication.artifact androidSourcesJar - configurePom(publication.pom) } diff --git a/magellan-library/build.gradle b/magellan-library/build.gradle index a9048848..05d37338 100644 --- a/magellan-library/build.gradle +++ b/magellan-library/build.gradle @@ -36,7 +36,14 @@ android { minifyEnabled false } } + namespace 'com.wealthfront.magellan' + + publishing { + singleVariant("release") { + withSourcesJar() + } + } } tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach { diff --git a/magellan-rx2/build.gradle b/magellan-rx2/build.gradle index 0b4b09e2..fde20df8 100644 --- a/magellan-rx2/build.gradle +++ b/magellan-rx2/build.gradle @@ -24,7 +24,14 @@ android { minifyEnabled false } } + namespace 'com.wealthfront.magellan.rx2' + + publishing { + singleVariant("release") { + withSourcesJar() + } + } } tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach { diff --git a/magellan-test/build.gradle b/magellan-test/build.gradle index aae91b5f..9377818c 100644 --- a/magellan-test/build.gradle +++ b/magellan-test/build.gradle @@ -24,7 +24,14 @@ android { minifyEnabled false } } + namespace 'com.wealthfront.magellan.test' + + publishing { + singleVariant("release") { + withSourcesJar() + } + } } tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {