Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
saini2sandeep committed Jun 24, 2022
1 parent 259cc20 commit 3840c5b
Showing 1 changed file with 0 additions and 59 deletions.
59 changes: 0 additions & 59 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,62 +21,3 @@ allprojects {
jcenter()
}
}

//ext.versionName = { ->
// def currentTag = 'git tag --points-at HEAD'.execute().in.text.toString().trim()
// def currentBranch = 'git rev-parse --abbrev-ref HEAD'.execute().in.text.toString().trim()
// def tagRegex = "[0-9.]*[0-9]"
// if (!currentTag.isEmpty() && currentTag.matches(tagRegex)) {// is not empty and is in following format 8.0
// return currentTag
// } else {
// return currentBranch + '-SNAPSHOT'
// }
//}
//
//def libraryGroupId = 'com.meesho.android'
//def libraryVersion = versionName()
//
//project('circleindicator') {
// artifactoryPublish.dependsOn('build')
// publishing {
// publications {
// aar(MavenPublication) {
// groupId = libraryGroupId
// artifactId = 'circle-indicator'
// version = libraryVersion
// // Tell maven to prepare the generated "*.aar" file for publishing
// artifact("$buildDir/outputs/aar/${project.getName()}-release.aar")
//
// pom.withXml {
// def dependencies = asNode().appendNode('dependencies')
// configurations.getByName("releaseCompileClasspath").getResolvedConfiguration().getFirstLevelModuleDependencies().each {
// def dependency = dependencies.appendNode('dependency')
// dependency.appendNode('groupId', it.moduleGroup)
// dependency.appendNode('artifactId', it.moduleName)
// dependency.appendNode('version', it.moduleVersion)
// }
// }
// }
// }
// }
//}
//artifactory {
//
// //The base Artifactory URL if not overridden by the publisher/resolver
// contextUrl = project.properties["JFROG_ARTIFACTORY_URL"]
// publish {
// repository {
// repoKey = libraryVersion.endsWith('-SNAPSHOT') ? project.properties["SNAPSHOT_REPO_NAME"] :
// project.properties["RELEASE_REPO_NAME"]
// username = project.properties["JFROG_ARTIFACTORY_USERNAME"]
// password = project.properties["JFROG_ARTIFACTORY_KEY"]
// }
// defaults {
// // Tell the Artifactory Plugin which artifacts should be published to Artifactory.
// publications('aar')
// publishArtifacts = true
// // Publish generated POM files to Artifactory (true by default)
// publishPom = true
// }
// }
//}

0 comments on commit 3840c5b

Please sign in to comment.