Skip to content

Commit

Permalink
update test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuo committed Oct 29, 2024
1 parent 1c4a423 commit 1b73b5d
Showing 1 changed file with 45 additions and 45 deletions.
90 changes: 45 additions & 45 deletions gradle/publish.gradle
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
apply plugin: "maven-publish"

android {
publishing {
singleVariant('release') {
withSourcesJar()
withJavadocJar()
}
}
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release

group = PROJ_GROUP
artifactId = PROJ_ARTIFACTID
version = PROJ_VERSION

pom {
name = PROJ_NAME
description = PROJ_DESCRIPTION
url = PROJ_VCSURL
licenses {
license {
name = "The Apache License, Version 2.0"
url = "https://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
developers {
developer {
id = DEVELOPER_ID
name = DEVELOPER_NAME
}
}
scm {
connection = PROJ_ISSUETRACKERURL
developerConnection = PROJ_VCSURL
url = PROJ_WEBSITEURL
}
}
}
}
}
}
//android {
// publishing {
// singleVariant('release') {
// withSourcesJar()
// withJavadocJar()
// }
// }
//}
//
//afterEvaluate {
// publishing {
// publications {
// release(MavenPublication) {
// from components.release
//
// group = PROJ_GROUP
// artifactId = PROJ_ARTIFACTID
// version = PROJ_VERSION
//
// pom {
// name = PROJ_NAME
// description = PROJ_DESCRIPTION
// url = PROJ_VCSURL
// licenses {
// license {
// name = "The Apache License, Version 2.0"
// url = "https://www.apache.org/licenses/LICENSE-2.0.txt"
// }
// }
// developers {
// developer {
// id = DEVELOPER_ID
// name = DEVELOPER_NAME
// }
// }
// scm {
// connection = PROJ_ISSUETRACKERURL
// developerConnection = PROJ_VCSURL
// url = PROJ_WEBSITEURL
// }
// }
// }
// }
// }
//}

0 comments on commit 1b73b5d

Please sign in to comment.