-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from clover/r284
Release 284
- Loading branch information
Showing
171 changed files
with
17,125 additions
and
1,095 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
# See https://github.corp.clover.com/clover/jenkinsfiles/blob/master/templates/Jenkinsfile.oas-v1.0 for all the specifics. | ||
# There are other configuration settings that can be passed if needed | ||
pipeline_template: templates/Jenkinsfile.clover-libraries-v1.0 | ||
# Add app name and add file to associated app's code repo. | ||
LIBRARY_NAME: clover-android-sdk | ||
REPO_IS_MAVE: "false" | ||
REPO_IS_GRADLE: "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,91 +14,19 @@ | |
* limitations under the License. | ||
*/ | ||
group = 'com.clover.sdk' | ||
version = '262.2' | ||
version = '284' | ||
|
||
|
||
apply from: file("${project.rootDir}/lib.gradle") | ||
apply from: file("${projectDir}/../common_upload.gradle") | ||
|
||
dependencies { | ||
implementation project(':clover-android-sdk') | ||
implementation "androidx.annotation:annotation:$ANDROIDX_ANNOTATION_VERSION" | ||
implementation "com.google.code.gson:gson:$GSON_VERSION" | ||
} | ||
|
||
apply plugin: 'signing' | ||
|
||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
} | ||
dependencies { | ||
classpath 'io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.5.3' | ||
} | ||
} | ||
apply plugin: 'io.codearte.nexus-staging' | ||
|
||
uploadArchives { | ||
repositories { | ||
mavenDeployer { | ||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | ||
|
||
repository(url: "${upload_release_url}") { | ||
authentication(userName: "${upload_user}", password: "${upload_password}") | ||
} | ||
snapshotRepository(url: "${upload_snapshot_url}") { | ||
authentication(userName: "${upload_user}", password: "${upload_password}") | ||
} | ||
|
||
pom.project { | ||
parent { | ||
groupId 'org.sonatype.oss' | ||
artifactId 'oss-parent' | ||
version '7' | ||
} | ||
|
||
name 'Clover Android Connector SDK' | ||
description 'Android services and objects used for interacting with Clover Connector Services' | ||
url 'https://www.clover.com/' | ||
|
||
licenses { | ||
license { | ||
name 'The Apache Software License, Version 2.0' | ||
url 'http://www.apache.org/licenses/LICENSE-2.0' | ||
distribution 'repo' | ||
} | ||
} | ||
|
||
scm { | ||
url "https://github.com/clover/clover-android-sdk" | ||
connection "https://github.com/clover/clover-android-sdk.git" | ||
developerConnection "[email protected]:clover/clover-android-sdk.git" | ||
} | ||
|
||
developers { | ||
developer { | ||
name 'Clover Engineering Team' | ||
url 'https://www.clover.com' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
task sourcesJar(type: Jar) { | ||
classifier = 'sources' | ||
from android.sourceSets.main.java.srcDirs | ||
} | ||
|
||
artifacts { | ||
archives sourcesJar | ||
} | ||
|
||
signing { | ||
required = { gradle.taskGraph.hasTask("uploadArchives") } | ||
sign configurations.archives | ||
} | ||
|
||
nexusStaging { | ||
packageGroup = "com.clover" //optional if packageGroup == project.getGroup() ------> NOTE: project.getGroup() returns com.clover.sdk | ||
ext { | ||
project_name = 'Clover Android Connector SDK' | ||
project_description = 'Android services and objects used for interacting with Clover Connector Services' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.