@@ -29,7 +29,7 @@ ext.addTaskToCopyAllOutputs = { task ->
29
29
copyAllOutputs. from task. archivePath
30
30
}
31
31
32
- def pubVersion = ' 2019.4.1 '
32
+ def pubVersion = ' 2019.4.2 '
33
33
34
34
def baseArtifactId = ' chipobject'
35
35
def artifactGroupId = ' edu.wpi.first.ni-libraries'
@@ -72,6 +72,16 @@ task libZip(type: Zip) {
72
72
}
73
73
}
74
74
75
+ task libZipDebug (type : Zip ) {
76
+ destinationDir = outputsFolder
77
+ baseName = zipBaseName
78
+ classifier = " linuxathenadebug"
79
+
80
+ from(' src/lib/chipobject' ) {
81
+ into ' /linux/athena/shared/'
82
+ }
83
+ }
84
+
75
85
task headersZip (type : Zip ) {
76
86
destinationDir = outputsFolder
77
87
baseName = zipBaseName
@@ -92,6 +102,16 @@ task netCommLib(type: Zip) {
92
102
}
93
103
}
94
104
105
+ task netCommLibDebug (type : Zip ) {
106
+ destinationDir = outputsFolder
107
+ baseName = netcommZipBaseName
108
+ classifier = " linuxathenadebug"
109
+
110
+ from(' src/lib/netcomm' ) {
111
+ into ' /linux/athena/shared/'
112
+ }
113
+ }
114
+
95
115
task netCommHeaders (type : Zip ) {
96
116
destinationDir = outputsFolder
97
117
baseName = netcommZipBaseName
@@ -106,17 +126,22 @@ build.dependsOn netCommLib
106
126
build. dependsOn headersZip
107
127
build. dependsOn netCommHeaders
108
128
build. dependsOn libZip
129
+ build. dependsOn libZipDebug
130
+ build. dependsOn netCommLibDebug
109
131
110
132
addTaskToCopyAllOutputs(netCommLib)
111
133
addTaskToCopyAllOutputs(headersZip)
112
134
addTaskToCopyAllOutputs(libZip)
113
135
addTaskToCopyAllOutputs(netCommHeaders)
136
+ addTaskToCopyAllOutputs(libZipDebug)
137
+ addTaskToCopyAllOutputs(netCommLibDebug)
114
138
115
139
publishing {
116
140
publications {
117
141
chipobject(MavenPublication ) {
118
142
artifact libZip
119
143
artifact headersZip
144
+ artifact libZipDebug
120
145
121
146
artifactId = " ${ baseArtifactId} "
122
147
groupId artifactGroupId
@@ -125,6 +150,7 @@ publishing {
125
150
netcomm(MavenPublication ) {
126
151
artifact netCommLib
127
152
artifact netCommHeaders
153
+ artifact netCommLibDebug
128
154
129
155
artifactId = " ${ netcommBaseArtifactId} "
130
156
groupId artifactGroupId
0 commit comments