Skip to content

Commit

Permalink
Fix release configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabi755 committed Jan 3, 2025
1 parent 432d0a3 commit 7f2251c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
4 changes: 0 additions & 4 deletions gradle/mvn-push-android.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ publishing {
url = project.ext.navigationArtifactUrl
}
}

afterEvaluate {
from components.release
}
}
}
}
Expand Down
11 changes: 3 additions & 8 deletions maplibre-navigation-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ java {
kotlin {
jvmToolchain(17)

androidTarget()
androidTarget {
publishLibraryVariants("release")
}

def xcf = new XCFrameworkConfig(project)
[iosX64(), iosArm64(), iosSimulatorArm64()].forEach { target ->
Expand Down Expand Up @@ -92,13 +94,6 @@ android {
unitTests.returnDefaultValues = true
unitTests.includeAndroidResources = true
}

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

apply from: 'javadoc.gradle'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,6 @@ object TurfConversion {
return radians * factors[units]!!
}

/**
* Convert a distance measurement (assuming a spherical Earth) from a real-world unit into
* radians.
*
* @param distance double representing a distance value
* @param units pass in one of the units defined in [TurfUnitCriteria]
* @return converted distance to radians value
* @since 1.2.0
*/
/**
* Convert a distance measurement (assuming a spherical Earth) from a real-world unit into
* radians.
Expand Down

0 comments on commit 7f2251c

Please sign in to comment.