Skip to content

Commit

Permalink
Upload latest code.
Browse files Browse the repository at this point in the history
  • Loading branch information
qzcsfchh committed Jul 22, 2021
1 parent 47de608 commit e1d7250
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ android {

buildTypes {
release {
signingConfig signingConfigs.debug
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
Expand Down
13 changes: 3 additions & 10 deletions pdfview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,14 @@ dependencies {
apply plugin: 'maven'
boolean isRelease = true
boolean isLocal = false
String pomVersion = android.defaultConfig.versionName + (isRelease ? '' : '-SNAPSHOT')

uploadArchives{
repositories{
mavenDeployer {
if (isLocal) {
repository(url: uri('F:\\maven_repo'))
} else {
repository(url: 'http://af.hikvision.com.cn/artifactory/maven-BBG-snapshot') {
authentication userName: 'bbg-dev', password: 'helloworld'
}
}
pom.groupId = 'hik.common.ebg'
mavenLocal()
pom.groupId = 'io.github.qzcsfchh'
pom.artifactId = 'pdfview'
pom.version = pomVersion
pom.version = android.defaultConfig.versionName + (isRelease ? '' : '-SNAPSHOT')
println "implementation \'${pom.groupId}:${pom.artifactId}:${pom.version}\'"
}
}
Expand Down

0 comments on commit e1d7250

Please sign in to comment.