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 e318818 commit 627b47d
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 51 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
}
}
}
}
}
}
2 changes: 1 addition & 1 deletion gsyVideoPlayer-aliplay/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies {
publishing {
repositories {
maven {
name = "GSYVideoPlayer-aliplay"
name = "GSYVideoPlayer"
url = "https://maven.pkg.github.com/CarGuo/GSYVideoPlayer"
credentials {
username = System.getenv("GITHUB_ACTOR")
Expand Down
5 changes: 0 additions & 5 deletions gsyVideoPlayer-armv5/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,4 @@ publishing {
}
}
}
publications {
gpr(MavenPublication) {
from(components.java)
}
}
}

0 comments on commit 627b47d

Please sign in to comment.