Skip to content

Commit

Permalink
[android] Update dependencies. Remove support api 23-25
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-efremov committed Dec 13, 2023
1 parent 07e43a6 commit bbddaf0
Showing 1 changed file with 20 additions and 22 deletions.
42 changes: 20 additions & 22 deletions X2tConverter/build/Android/libx2t/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import org.apache.tools.ant.taskdefs.condition.Os
plugins {
id("com.android.library")
kotlin("android")
id("maven-publish")
}

apply {
Expand All @@ -15,26 +14,26 @@ apply {

val keystore = extra.get("getKeystore") as org.codehaus.groovy.runtime.MethodClosure

publishing {
publications {
create<MavenPublication>("maven") {
groupId = PublishEditors.groupId
artifactId = PublishEditors.x2tId
version = PublishEditors.version
artifact("$buildDir/outputs/aar/lib${artifactId}-release.aar")
}
}
repositories {
maven {
name = "GitHubPackages"
url = uri("${PublishEditors.publishUrl}/")
credentials {
username = (keystore() as? java.util.Properties)?.getProperty("git_user_name") ?: ""
password = (keystore() as? java.util.Properties)?.getProperty("git_token") ?: ""
}
}
}
}
//publishing {
// publications {
// create<MavenPublication>("maven") {
// groupId = PublishEditors.groupId
// artifactId = PublishEditors.x2tId
// version = PublishEditors.version
// artifact("${layout.buildDirectory}/outputs/aar/lib${artifactId}-release.aar")
// }
// }
// repositories {
// maven {
// name = "GitHubPackages"
// url = uri("${PublishEditors.publishUrl}/")
// credentials {
// username = (keystore() as? java.util.Properties)?.getProperty("git_user_name") ?: ""
// password = (keystore() as? java.util.Properties)?.getProperty("git_token") ?: ""
// }
// }
// }
//}

android {

Expand All @@ -49,7 +48,6 @@ android {

defaultConfig {
minSdk = AppDependency.MIN_SDK_VERSION
targetSdk = AppDependency.TARGET_SDK_VERSION

buildConfigField("String", "LIB_X2T", "\"${extra.get("NAME_LIB")}\"")

Expand Down

0 comments on commit bbddaf0

Please sign in to comment.