Skip to content

Commit

Permalink
changes: CI Bintray
Browse files Browse the repository at this point in the history
  • Loading branch information
nsagnett committed Feb 17, 2021
1 parent 5f99d74 commit 4810127
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions ATMobileAnalytics/Tracker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ apply plugin: 'com.jfrog.bintray'
apply plugin: 'jacoco'
apply from: './publish-mavencentral.gradle'

def VERSION = '2.20.2'
group = 'com.atinternet'
version = '2.20.2'

android {
compileSdkVersion 30
Expand Down Expand Up @@ -54,7 +55,7 @@ clean {
delete project.rootDir.absolutePath + '/delivery/'
delete project.rootDir.absolutePath + '/documentation/'
delete project.rootDir.absolutePath + '/build.properties'
delete project.rootDir.absolutePath + '/ATInternet_Android_SDK_' + VERSION + '.zip'
delete project.rootDir.absolutePath + '/ATInternet_Android_SDK_' + version + '.zip'
}

install {
Expand Down Expand Up @@ -104,11 +105,11 @@ task sourcesJar(type: Jar) {
task javadoc(type: Javadoc) {
source = project.rootDir.absolutePath + '/Tracker/src/main/java'
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
destinationDir = new File(project.rootDir, "documentation/" + VERSION)
destinationDir = new File(project.rootDir, "documentation/" + version)
failOnError false

options.memberLevel = JavadocMemberLevel.PUBLIC
options.header = "ATInternet Android SDK API " + VERSION
options.header = "ATInternet Android SDK API " + version
options.stylesheetFile = new File(projectDir, "docs-res/style.css")
}

Expand All @@ -122,7 +123,7 @@ artifacts {
}

task createDelivery {
def destination = project.rootDir.absolutePath + '/delivery/' + VERSION + '/'
def destination = project.rootDir.absolutePath + '/delivery/' + version + '/'
doLast {
copy {
from 'build/outputs/aar/'
Expand Down Expand Up @@ -152,7 +153,7 @@ task createDelivery {
task createBuildFile {
def file = new File(project.rootDir, "build.properties")
file.createNewFile()
file.text = "version=" + VERSION + "\n"
file.text = "version=" + version + "\n"
}

jacoco {
Expand Down

0 comments on commit 4810127

Please sign in to comment.