@@ -53,14 +53,11 @@ def getPlatformPath(triplet) {
53
53
}
54
54
}
55
55
56
- ext . triplet = getTriplet()
57
- ext. platformPath = getPlatformPath(ext . triplet)
56
+ def triplet = getTriplet()
57
+ ext. platformPath = getPlatformPath(triplet)
58
58
ext. platformClassifier = ext. platformPath. replaceFirst(' /' , ' ' )
59
59
60
60
ext. repo = " thirdparty-ceres"
61
-
62
- def triplet = getTriplet()
63
-
64
61
def pubVersion = " 2.2-1"
65
62
66
63
def outputsFolder = file(" $project . buildDir /outputs" )
@@ -73,10 +70,8 @@ def versionFile = file("$outputsFolder/version.txt")
73
70
def licenseFile = file(" LICENSE.md" )
74
71
75
72
def outputClassifierStatic = project. ext. platformClassifier + ' static'
76
- def outputClassifierDebugStatic = project. ext. platformClassifier + ' debug/static'
77
73
System . out. println (triplet)
78
74
79
-
80
75
task copyAllOutputs (type : Copy ) {
81
76
destinationDir = outputsFolder
82
77
}
@@ -142,7 +137,7 @@ task cppLibsZipStatic(type: Zip) {
142
137
task cppLibsZipStaticDebug (type : Zip ) {
143
138
destinationDirectory = outputsFolder
144
139
archiveClassifier = outputClassifierStatic + ' debug'
145
- archiveBaseName = zipBaseName + ' debug '
140
+ archiveBaseName = zipBaseName
146
141
duplicatesStrategy = ' exclude'
147
142
148
143
from(licenseFile) {
0 commit comments