File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,3 +97,27 @@ task makeZip(type: Zip) {
9797
9898makeZip. dependsOn([clearZip, exportPackage])
9999makeZip. mustRunAfter([clearZip, exportPackage])
100+
101+ /**
102+ * Tar task to package the Unity Package Manager (UPM) artifact.
103+ */
104+ task makeUpmTar (type : Tar ) {
105+ description = ' Creates a UPM .tgz package for the adapter'
106+
107+ // Example: `com.google.ads.mobile.mediation.applovin-8.7.3.tgz`.
108+ archiveBaseName = " com.google.ads.mobile.mediation.${ adapterName.toLowerCase()} "
109+ archiveVersion = versionString
110+ archiveExtension = ' tgz'
111+ destinationDirectory = file(' .' )
112+ compression = Compression . GZIP
113+
114+ into(' package' ) {
115+ from(' .' ) {
116+ include ' package.json' , ' package.json.meta'
117+ include ' README.md' , ' README.md.meta'
118+ include ' CHANGELOG.md' , ' CHANGELOG.md.meta'
119+ include ' LICENSE' , ' LICENSE.meta'
120+ include ' source/**' , ' source.meta'
121+ }
122+ }
123+ }
Original file line number Diff line number Diff line change @@ -96,3 +96,27 @@ task makeZip(type: Zip) {
9696
9797makeZip. dependsOn([clearZip, exportPackage])
9898makeZip. mustRunAfter([clearZip, exportPackage])
99+
100+ /**
101+ * Tar task to package the Unity Package Manager (UPM) artifact.
102+ */
103+ task makeUpmTar (type : Tar ) {
104+ description = ' Creates a UPM .tgz package for the adapter'
105+
106+ // Example: `com.google.ads.mobile.mediation.bidmachine-1.4.0.tgz`.
107+ archiveBaseName = " com.google.ads.mobile.mediation.${ adapterName.toLowerCase()} "
108+ archiveVersion = versionString
109+ archiveExtension = ' tgz'
110+ destinationDirectory = file(' .' )
111+ compression = Compression . GZIP
112+
113+ into(' package' ) {
114+ from(' .' ) {
115+ include ' package.json' , ' package.json.meta'
116+ include ' README.md' , ' README.md.meta'
117+ include ' CHANGELOG.md' , ' CHANGELOG.md.meta'
118+ include ' LICENSE' , ' LICENSE.meta'
119+ include ' source/**' , ' source.meta'
120+ }
121+ }
122+ }
Original file line number Diff line number Diff line change @@ -97,3 +97,27 @@ task makeZip(type: Zip) {
9797
9898makeZip. dependsOn([clearZip, exportPackage])
9999makeZip. mustRunAfter([clearZip, exportPackage])
100+
101+ /**
102+ * Tar task to package the Unity Package Manager (UPM) artifact.
103+ */
104+ task makeUpmTar (type : Tar ) {
105+ description = ' Creates a UPM .tgz package for the adapter'
106+
107+ // Example: `com.google.ads.mobile.mediation.bigo-1.0.0.tgz`.
108+ archiveBaseName = " com.google.ads.mobile.mediation.${ adapterName.toLowerCase()} "
109+ archiveVersion = versionString
110+ archiveExtension = ' tgz'
111+ destinationDirectory = file(' .' )
112+ compression = Compression . GZIP
113+
114+ into(' package' ) {
115+ from(' .' ) {
116+ include ' package.json' , ' package.json.meta'
117+ include ' README.md' , ' README.md.meta'
118+ include ' CHANGELOG.md' , ' CHANGELOG.md.meta'
119+ include ' LICENSE' , ' LICENSE.meta'
120+ include ' source/**' , ' source.meta'
121+ }
122+ }
123+ }
Original file line number Diff line number Diff line change @@ -98,3 +98,27 @@ task makeZip(type: Zip) {
9898
9999makeZip. dependsOn([clearZip, exportPackage])
100100makeZip. mustRunAfter([clearZip, exportPackage])
101+
102+ /**
103+ * Tar task to package the Unity Package Manager (UPM) artifact.
104+ */
105+ task makeUpmTar (type : Tar ) {
106+ description = ' Creates a UPM .tgz package for the adapter'
107+
108+ // Example: `com.google.ads.mobile.mediation.chartboost-4.12.1.tgz`.
109+ archiveBaseName = " com.google.ads.mobile.mediation.${ adapterName.toLowerCase()} "
110+ archiveVersion = versionString
111+ archiveExtension = ' tgz'
112+ destinationDirectory = file(' .' )
113+ compression = Compression . GZIP
114+
115+ into(' package' ) {
116+ from(' .' ) {
117+ include ' package.json' , ' package.json.meta'
118+ include ' README.md' , ' README.md.meta'
119+ include ' CHANGELOG.md' , ' CHANGELOG.md.meta'
120+ include ' LICENSE' , ' LICENSE.meta'
121+ include ' source/**' , ' source.meta'
122+ }
123+ }
124+ }
Original file line number Diff line number Diff line change @@ -97,3 +97,27 @@ task makeZip(type: Zip) {
9797
9898makeZip. dependsOn([clearZip, exportPackage])
9999makeZip. mustRunAfter([clearZip, exportPackage])
100+
101+ /**
102+ * Tar task to package the Unity Package Manager (UPM) artifact.
103+ */
104+ task makeUpmTar (type : Tar ) {
105+ description = ' Creates a UPM .tgz package for the adapter'
106+
107+ // Example: `com.google.ads.mobile.mediation.dtexchange-3.5.9.tgz`.
108+ archiveBaseName = " com.google.ads.mobile.mediation.${ adapterName.toLowerCase()} "
109+ archiveVersion = versionString
110+ archiveExtension = ' tgz'
111+ destinationDirectory = file(' .' )
112+ compression = Compression . GZIP
113+
114+ into(' package' ) {
115+ from(' .' ) {
116+ include ' package.json' , ' package.json.meta'
117+ include ' README.md' , ' README.md.meta'
118+ include ' CHANGELOG.md' , ' CHANGELOG.md.meta'
119+ include ' LICENSE' , ' LICENSE.meta'
120+ include ' source/**' , ' source.meta'
121+ }
122+ }
123+ }
Original file line number Diff line number Diff line change @@ -97,3 +97,27 @@ task makeZip(type: Zip) {
9797
9898makeZip. dependsOn([clearZip, exportPackage])
9999makeZip. mustRunAfter([clearZip, exportPackage])
100+
101+ /**
102+ * Tar task to package the Unity Package Manager (UPM) artifact.
103+ */
104+ task makeUpmTar (type : Tar ) {
105+ description = ' Creates a UPM .tgz package for the adapter'
106+
107+ // Example: `com.google.ads.mobile.mediation.imobile-1.3.12.tgz`.
108+ archiveBaseName = " com.google.ads.mobile.mediation.${ adapterName.toLowerCase()} "
109+ archiveVersion = versionString
110+ archiveExtension = ' tgz'
111+ destinationDirectory = file(' .' )
112+ compression = Compression . GZIP
113+
114+ into(' package' ) {
115+ from(' .' ) {
116+ include ' package.json' , ' package.json.meta'
117+ include ' README.md' , ' README.md.meta'
118+ include ' CHANGELOG.md' , ' CHANGELOG.md.meta'
119+ include ' LICENSE' , ' LICENSE.meta'
120+ include ' source/**' , ' source.meta'
121+ }
122+ }
123+ }
Original file line number Diff line number Diff line change @@ -97,3 +97,27 @@ task makeZip(type: Zip) {
9797
9898makeZip. dependsOn([clearZip, exportPackage])
9999makeZip. mustRunAfter([clearZip, exportPackage])
100+
101+ /**
102+ * Tar task to package the Unity Package Manager (UPM) artifact.
103+ */
104+ task makeUpmTar (type : Tar ) {
105+ description = ' Creates a UPM .tgz package for the adapter'
106+
107+ // Example: `com.google.ads.mobile.mediation.inmobi-5.2.0.tgz`.
108+ archiveBaseName = " com.google.ads.mobile.mediation.${ adapterName.toLowerCase()} "
109+ archiveVersion = versionString
110+ archiveExtension = ' tgz'
111+ destinationDirectory = file(' .' )
112+ compression = Compression . GZIP
113+
114+ into(' package' ) {
115+ from(' .' ) {
116+ include ' package.json' , ' package.json.meta'
117+ include ' README.md' , ' README.md.meta'
118+ include ' CHANGELOG.md' , ' CHANGELOG.md.meta'
119+ include ' LICENSE' , ' LICENSE.meta'
120+ include ' source/**' , ' source.meta'
121+ }
122+ }
123+ }
Original file line number Diff line number Diff line change @@ -98,3 +98,27 @@ task makeZip(type: Zip) {
9898
9999makeZip. dependsOn([clearZip, exportPackage])
100100makeZip. mustRunAfter([clearZip, exportPackage])
101+
102+ /**
103+ * Tar task to package the Unity Package Manager (UPM) artifact.
104+ */
105+ task makeUpmTar (type : Tar ) {
106+ description = ' Creates a UPM .tgz package for the adapter'
107+
108+ // Example: `com.google.ads.mobile.mediation.ironsource-4.5.2.tgz`.
109+ archiveBaseName = " com.google.ads.mobile.mediation.${ adapterName.toLowerCase()} "
110+ archiveVersion = versionString
111+ archiveExtension = ' tgz'
112+ destinationDirectory = file(' .' )
113+ compression = Compression . GZIP
114+
115+ into(' package' ) {
116+ from(' .' ) {
117+ include ' package.json' , ' package.json.meta'
118+ include ' README.md' , ' README.md.meta'
119+ include ' CHANGELOG.md' , ' CHANGELOG.md.meta'
120+ include ' LICENSE' , ' LICENSE.meta'
121+ include ' source/**' , ' source.meta'
122+ }
123+ }
124+ }
Original file line number Diff line number Diff line change @@ -119,3 +119,27 @@ task makeZip(type: Zip) {
119119
120120makeZip. dependsOn([clearZip, exportPackage])
121121makeZip. mustRunAfter([clearZip, exportPackage])
122+
123+ /**
124+ * Tar task to package the Unity Package Manager (UPM) artifact.
125+ */
126+ task makeUpmTar (type : Tar ) {
127+ description = ' Creates a UPM .tgz package for the adapter'
128+
129+ // Example: `com.google.ads.mobile.mediation.liftoffmonetize-5.7.4.tgz`.
130+ archiveBaseName = " com.google.ads.mobile.mediation.${ adapterName.toLowerCase()} "
131+ archiveVersion = versionString
132+ archiveExtension = ' tgz'
133+ destinationDirectory = file(' .' )
134+ compression = Compression . GZIP
135+
136+ into(' package' ) {
137+ from(' .' ) {
138+ include ' package.json' , ' package.json.meta'
139+ include ' README.md' , ' README.md.meta'
140+ include ' CHANGELOG.md' , ' CHANGELOG.md.meta'
141+ include ' LICENSE' , ' LICENSE.meta'
142+ include ' source/**' , ' source.meta'
143+ }
144+ }
145+ }
Original file line number Diff line number Diff line change @@ -119,3 +119,27 @@ task makeZip(type: Zip) {
119119
120120makeZip. dependsOn([clearZip, exportPackage])
121121makeZip. mustRunAfter([clearZip, exportPackage])
122+
123+ /**
124+ * Tar task to package the Unity Package Manager (UPM) artifact.
125+ */
126+ task makeUpmTar (type : Tar ) {
127+ description = ' Creates a UPM .tgz package for the adapter'
128+
129+ // Example: `com.google.ads.mobile.mediation.line-2.1.0.tgz`.
130+ archiveBaseName = " com.google.ads.mobile.mediation.${ adapterName.toLowerCase()} "
131+ archiveVersion = versionString
132+ archiveExtension = ' tgz'
133+ destinationDirectory = file(' .' )
134+ compression = Compression . GZIP
135+
136+ into(' package' ) {
137+ from(' .' ) {
138+ include ' package.json' , ' package.json.meta'
139+ include ' README.md' , ' README.md.meta'
140+ include ' CHANGELOG.md' , ' CHANGELOG.md.meta'
141+ include ' LICENSE' , ' LICENSE.meta'
142+ include ' source/**' , ' source.meta'
143+ }
144+ }
145+ }
You can’t perform that action at this time.
0 commit comments