net.osmand.plus.yml 249 KB
Newer Older
1
2
3
4
AntiFeatures:
  - NonFreeAssets
  - NonFreeNet
  - NonFreeAdd
Matthew's avatar
Matthew committed
5
  - UpstreamNonFree
6
7
8
Categories:
  - Navigation
License: GPL-3.0-only
Izzy's avatar
Izzy committed
9
WebSite: https://osmand.net
10
11
12
SourceCode: https://github.com/osmandapp/Osmand
IssueTracker: https://github.com/osmandapp/Osmand/issues
Translation: https://hosted.weblate.org/projects/osmand/
Izzy's avatar
Izzy committed
13
Changelog: https://osmand.net/help/changes.html
14
15
16
17
18
Bitcoin: 1GRgEnKujorJJ9VBa76g8cp3sfoWtQqSs4

Name: OsmAnd~

RepoType: git
19
Repo: https://gitlab.com/f-droid-mirrors/OsmAnd-submodules.git
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000

Builds:
  - versionName: 1.8.2
    versionCode: 182
    commit: 76ada6c8a08afe69acb755503373ac36328ef665
    subdir: android/OsmAnd
    submodules: true
    output: bin/OsmAnd-release-unsigned.apk
    prebuild: sed -i 's/"OsmAnd+"/"OsmAnd~"/g' build.xml
    build:
      - ./old-ndk-build.sh
      - ant -Dsdk.dir="$ANDROID_SDK" -Dndk.dir="$ANDROID_NDK" -DBLACKBERRY_BUILD=false
        -DBUILD_SUFFIX= -DAPK_NUMBER_VERSION=182 "-DFEATURES=+play_market +gps_status
        -parking_plugin -blackberry -amazon -route_nav" -DCLEAN_CPP=false -DPACKAGE_TO_BUILT=net.osmand.plus
        -DAPK_VERSION=1.8.2 -Dnet.osmand.plus= -Dbuild.version=1.8.2 -Dbuild.version.code=182
        -Dnativeoff=false "-DversionFeatures=+play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav" clean release

  - versionName: 1.8.3
    versionCode: 183
    commit: 1.8.3
    subdir: android/OsmAnd
    submodules: true
    output: bin/OsmAnd-release-unsigned.apk
    build: ../../build

  - versionName: 1.9.4
    versionCode: 196
    commit: 1.9.4
    subdir: android/OsmAnd
    submodules: true
    output: bin/OsmAnd-release-unsigned.apk
    build: ../../build

  - versionName: 1.9.5
    versionCode: 197
    commit: 1.9.5
    subdir: android/OsmAnd
    submodules: true
    output: bin/OsmAnd-release-unsigned.apk
    build: ../../build

  - versionName: 2.0.2
    versionCode: 201
    disable: builds and works, disable for further restructuring
    commit: 2.0.2
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - fullLegacyFat
    forceversion: true
    build: ../../build

  - versionName: 2.0.3
    versionCode: 205
    disable: builds with slow rendering
    commit: 2.0.3
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"2.0.3\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"205\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"-play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/sourceSets/icompileOptions {\nsourceCompatibility = JavaVersion.VERSION_1_7\ntargetCompatibility
        = JavaVersion.VERSION_1_7\n}\n' ../eclipse-compile/appcompat/build.gradle
        build.gradle

  - versionName: 2.0.4
    versionCode: 206
    disable: builds with slow rendering
    commit: 2.0.4
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"2.0.4\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"206\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"-play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/sourceSets/icompileOptions {\nsourceCompatibility = JavaVersion.VERSION_1_7\ntargetCompatibility
        = JavaVersion.VERSION_1_7\n}\n' ../eclipse-compile/appcompat/build.gradle
        build.gradle

  - versionName: 2.0.4
    versionCode: 207
    commit: 6c290d170b00119df2771b1509221b46212947e9
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"2.0.4\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"207\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"-play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/sourceSets/icompileOptions {\nsourceCompatibility = JavaVersion.VERSION_1_7\ntargetCompatibility
        = JavaVersion.VERSION_1_7\n}\n' ../eclipse-compile/appcompat/build.gradle
        build.gradle
      - sed -i -e '1 iAPP_PLATFORM := android-14' jni/Application.mk

  - versionName: 2.1.1
    versionCode: 212
    commit: 2.1.1
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"-play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle

  - versionName: 2.2.3
    versionCode: 223
    disable: test build, wait for tag
    commit: e6dba68d9f56c5ffee47ff2d7df822516956b9cb
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"-play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle

  - versionName: 2.2.4
    versionCode: 224
    commit: 2.2.4
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"-play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml

  - versionName: 2.3.3
    versionCode: 235
    commit: d785ec7a9e0a67ff189758b91b4b28037b1a8c90
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"-play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1024m/g' build.gradle
    scanignore:
      - resources/rendering_styles/style-icons/drawable-mdpi/mx_sport_free_flyingpng

  - versionName: 2.3.5
    versionCode: 238
    commit: 2.3.5
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"-play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
    scanignore:
      - resources/rendering_styles/style-icons/drawable-mdpi/mx_sport_free_flyingpng

  - versionName: 2.4.4
    versionCode: 244
    commit: 2.4.4
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"-play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
    scanignore:
      - resources/rendering_styles/style-icons/drawable-mdpi/mx_sport_free_flyingpng
    scandelete:
      - resources/.swp
    ndk: r10e

  - versionName: 2.4.6
    versionCode: 246
    commit: 2.4.6
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"-play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
    scanignore:
      - resources/rendering_styles/style-icons/drawable-mdpi/mx_sport_free_flyingpng
    scandelete:
      - resources/.swp
    ndk: r10e

  - versionName: 2.4.7
    versionCode: 247
    commit: 2.4.7
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"+play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
    scanignore:
      - resources/rendering_styles/style-icons/drawable-mdpi/mx_sport_free_flyingpng
    scandelete:
      - resources/.swp
    ndk: r11c

  - versionName: 2.5.2
    versionCode: 252
    disable: pre-release
    commit: a4422a821f459922c25683276fd57265ecb99f40
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"+play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
    ndk: r11c

  - versionName: 2.5.4
    versionCode: 254
    commit: e06499c68d489f8e497c71b0fb28984e537b0d23
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"+play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
    ndk: r11c

  - versionName: 2.6.2
    versionCode: 262
    commit: 2.6.2
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' -e '/com.google.firebase/d' build.gradle ../plugins/Osmand-ParkingPlugin/build.gradle
        ../plugins/Osmand-SRTMPlugin/build.gradle ../plugins/Osmand-Skimaps/build.gradle
        ../plugins/Osmand-Nautical/build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"+play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
    ndk: r11c

  - versionName: 2.6.3
    versionCode: 263
    commit: 2.6.3
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' -e '/com.google.firebase/d' build.gradle ../plugins/Osmand-ParkingPlugin/build.gradle
        ../plugins/Osmand-SRTMPlugin/build.gradle ../plugins/Osmand-Skimaps/build.gradle
        ../plugins/Osmand-Nautical/build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"+play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
    ndk: r11c

  - versionName: 2.6.5
    versionCode: 265
    commit: 3fcd1182218d400f8a11045e1563fc37e72d03dc
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' -e '/com.google.firebase/d' build.gradle ../plugins/Osmand-ParkingPlugin/build.gradle
        ../plugins/Osmand-SRTMPlugin/build.gradle ../plugins/Osmand-Skimaps/build.gradle
        ../plugins/Osmand-Nautical/build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"+play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
    ndk: r11c

  - versionName: 2.7.5
    versionCode: 275
    commit: e6a0b95778b1e102a4f72067d42827ea3cb2dcaf
    subdir: android/OsmAnd
    submodules: true
    gradle:
      - full
      - legacy
      - fat
    prebuild:
      - sed -i -e '/qt.*Compile/d' -e '/com.google.firebase/d' build.gradle ../plugins/Osmand-ParkingPlugin/build.gradle
        ../plugins/Osmand-SRTMPlugin/build.gradle ../plugins/Osmand-Skimaps/build.gradle
        ../plugins/Osmand-Nautical/build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"+play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
    ndk: r11c

  - versionName: 2.8.2
    versionCode: 282
    commit: eb0ec22a1bfc0266574a0ee9dcf21161054006b6
    subdir: android/OsmAnd
    submodules: true
    sudo:
      - apt-get update
      - apt-get install --yes -t jessie-backports swig
    gradle:
      - full
      - legacy
      - fat
    rm:
      - android/eclipse-compile
      - android/OsmAnd-java/libs/*.jar
      - android/OsmAnd-java/test/libs/*.jar
      - android/OsmAnd/ant-lib/*.jar
      - android/OsmAnd/libs/*.jar
      - android/OsmAndCore-sample
    prebuild:
      - sed  -i -e "/net.osmand:OsmAndCore_android:.*SNAPSHOT@jar/d" ../OsmAnd/build.gradle
      - pushd ../../OsmAnd-core/wrappers/android/
      - sed -i -e "/Native/d" settings.gradle
      - sed -i -e "/Native/d" build.gradle
      - sed -i -e "/compileTask.*copyNdkSharedLibs/d" build.gradle
      - sed -i -e "/compileTask.*copyQtSharedLibs/d" build.gradle
      - sed -i -e "/compileTask.*copyQtJarLibs/d" build.gradle
      - gradle assembleRelease
      - cd build/outputs/aar
      - unzip OsmAndCore_android-release.aar
      - cp classes.jar ../../../../../../android/OsmAnd/libs/
      - popd
      - sed -i -e '/qt.*Compile/d' -e '/com.google.firebase/d' build.gradle ../plugins/Osmand-ParkingPlugin/build.gradle
        ../plugins/Osmand-SRTMPlugin/build.gradle ../plugins/Osmand-Skimaps/build.gradle
        ../plugins/Osmand-Nautical/build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"+play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
      - "sed -i -e \"s/compile fileTree.*/ compile 'commons-logging:commons-logging:1.1.1'\\\
        n compile group: 'net.sf.trove4j', name: 'trove4j', version: '3.0.3'\\n compile\
        \ 'org.json:json:20090211'\\n compile 'it.unibo.alice.tuprolog:tuprolog:3.2.1'\\\
        n compile 'net.sf.kxml:kxml2:2.3.0'\\n compile 'org.beanshell:bsh-core:2.0b4'\\\
        n compile 'com.ibm.icu:icu4j:50.1'\\n compile 'fr.univ-valenciennes:bzip2:1.0'\\\
        n compile 'com.moparisthebest:junidecode:0.1.1'\\n compile 'com.vividsolutions:jts-core:1.14.0'/\"\
        \ ../OsmAnd-java/build.gradle"
      - "sed -i -e \"s/compile fileTree.*/ compile fileTree(include: ['classes.jar'],\
        \ dir: 'libs')\\n compile 'commons-logging:commons-logging-api:1.1'\\n compile\
        \ 'it.unibo.alice.tuprolog:tuprolog:3.2.1'\\n compile 'org.beanshell:bsh-core:2.0b4'\\\
        n compile 'com.ibm.icu:icu4j:50.1'\\n compile 'fr.univ-valenciennes:bzip2:1.0'\\\
        n compile 'com.moparisthebest:junidecode:0.1.1'\\n compile group: 'net.sf.trove4j',\
        \ name: 'trove4j', version: '3.0.3'\\n compile 'org.immutables:gson:2.5.0'\\\
        n compile 'com.vividsolutions:jts-core:1.14.0'/\" build.gradle"
      - sed -i -e "s/public void debug(Object message) {/ public void trace(Object
        message) { }\n public void trace(Object message, Throwable t) { }\n public
        boolean isTraceEnabled() { return false; }\n public void debug(Object message)
        {/" src/net/osmand/PlatformUtil.java
      - sed -i -e "s/, ':OsmAndCore-sample'//" ../settings.gradle
    scanignore:
      - help/website/help/map-legend_nautical.png
      - help/website/help/map-legend_default.png
      - android/OsmAnd/libs/classes.jar
    ndk: r11c

  - versionName: 2.9.3
    versionCode: 293
    commit: 26d8bada10dff9a3ae76233f78f6c6f4434eba85
    subdir: android/OsmAnd
    submodules: true
    sudo:
      - apt-get update
      - apt-get install --yes -t jessie-backports swig
    gradle:
      - full
      - legacy
      - fat
    rm:
      - android/eclipse-compile
      - android/OsmAnd-java/libs/*.jar
      - android/OsmAnd-java/test/libs/*.jar
      - android/OsmAnd/ant-lib/*.jar
      - android/OsmAnd/libs/*.jar
      - android/OsmAndCore-sample
    prebuild:
      - sed  -i -e "/net.osmand:OsmAndCore_android:.*SNAPSHOT@jar/d" ../OsmAnd/build.gradle
      - sed -i -e '/qt.*Compile/d' -e '/com.google.firebase/d' build.gradle ../plugins/Osmand-ParkingPlugin/build.gradle
        ../plugins/Osmand-SRTMPlugin/build.gradle ../plugins/Osmand-Skimaps/build.gradle
        ../plugins/Osmand-Nautical/build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"+play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
      - "sed -i -e \"s/compile fileTree.*/ compile 'commons-logging:commons-logging:1.1.1'\\\
        n compile group: 'net.sf.trove4j', name: 'trove4j', version: '3.0.3'\\n compile\
        \ 'org.json:json:20090211'\\n compile 'it.unibo.alice.tuprolog:tuprolog:3.2.1'\\\
        n compile 'net.sf.kxml:kxml2:2.3.0'\\n compile 'org.beanshell:bsh-core:2.0b4'\\\
        n compile 'com.ibm.icu:icu4j:50.1'\\n compile 'fr.univ-valenciennes:bzip2:1.0'\\\
        n compile 'com.moparisthebest:junidecode:0.1.1'\\n compile 'com.vividsolutions:jts-core:1.14.0'/\"\
        \ ../OsmAnd-java/build.gradle"
      - "sed -i -e \"s/compile fileTree.*/ compile fileTree(include: ['classes.jar'],\
        \ dir: 'libs')\\n compile 'commons-logging:commons-logging-api:1.1'\\n compile\
        \ 'it.unibo.alice.tuprolog:tuprolog:3.2.1'\\n compile 'org.beanshell:bsh-core:2.0b4'\\\
        n compile 'com.ibm.icu:icu4j:50.1'\\n compile 'fr.univ-valenciennes:bzip2:1.0'\\\
        n compile 'com.moparisthebest:junidecode:0.1.1'\\n compile group: 'net.sf.trove4j',\
        \ name: 'trove4j', version: '3.0.3'\\n compile 'org.immutables:gson:2.5.0'\\\
        n compile 'com.vividsolutions:jts-core:1.14.0'/\" build.gradle"
      - sed -i -e "s/public void debug(Object message) {/ public void trace(Object
        message) { }\n public void trace(Object message, Throwable t) { }\n public
        boolean isTraceEnabled() { return false; }\n public void debug(Object message)
        {/" src/net/osmand/PlatformUtil.java
      - sed -i -e "s/, ':OsmAndCore-sample'//" ../settings.gradle
    scanignore:
      - help/website/help/map-legend_nautical.png
      - help/website/help/map-legend_default.png
      - help/website/images/dvr/4p-en.png
      - help/website/images/blog/ios-2-0/con-scrn-1.png
      - help/website/images/blog/ios-2-0/con-scrn-2.png
      - help/website/images/blog/ios-2-0/interf-2.png
      - help/website/images/blog/ios-2-0/navigat-6.png
    build:
      - pushd ../../OsmAnd-core/wrappers/android/
      - sed -i -e "/Native/d" settings.gradle
      - sed -i -e "/Native/d" build.gradle
      - sed -i -e "/compileTask.*copyNdkSharedLibs/d" build.gradle
      - sed -i -e "/compileTask.*copyQtSharedLibs/d" build.gradle
      - sed -i -e "/compileTask.*copyQtJarLibs/d" build.gradle
      - gradle assembleRelease
      - cd build/outputs/aar
      - unzip OsmAndCore_android-release.aar
      - cp classes.jar ../../../../../../android/OsmAnd/libs/
      - popd
    ndk: r11c

  - versionName: 3.0.0
    versionCode: 300
    commit: e2054218ab4dec175cd84b1ae48798dd5aeb291e
    subdir: android/OsmAnd
    submodules: true
    sudo:
      - apt-get update
      - apt-get install --yes -t jessie-backports swig
    gradle:
      - full
      - legacy
      - fat
    rm:
      - android/OsmAnd-java/libs/*.jar
      - android/OsmAnd-java/test/libs/*.jar
      - android/OsmAnd/ant-lib/*.jar
      - android/OsmAnd/libs/*.jar
      - android/OsmAndCore-sample
    prebuild:
      - sed  -i -e "/net.osmand:OsmAndCore_android:.*SNAPSHOT@jar/d" ../OsmAnd/build.gradle
      - sed -i -e '/qt.*Compile/d' -e '/com.google.firebase/d' build.gradle ../plugins/Osmand-ParkingPlugin/build.gradle
        ../plugins/Osmand-SRTMPlugin/build.gradle ../plugins/Osmand-Skimaps/build.gradle
        ../plugins/Osmand-Nautical/build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"+play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
      - "sed -i -e \"s/compile fileTree.*/ compile 'commons-logging:commons-logging:1.1.1'\\\
        n compile group: 'net.sf.trove4j', name: 'trove4j', version: '3.0.3'\\n compile\
        \ 'org.json:json:20090211'\\n compile 'it.unibo.alice.tuprolog:tuprolog:3.2.1'\\\
        n compile 'net.sf.kxml:kxml2:2.3.0'\\n compile 'org.beanshell:bsh-core:2.0b4'\\\
        n compile 'com.ibm.icu:icu4j:50.1'\\n compile 'fr.univ-valenciennes:bzip2:1.0'\\\
        n compile 'com.moparisthebest:junidecode:0.1.1'\\n compile 'com.vividsolutions:jts-core:1.14.0'/\"\
        \ ../OsmAnd-java/build.gradle"
      - "sed -i -e \"s/implementation fileTree.*/implementation fileTree(include:\
        \ ['classes.jar'], dir: 'libs')\\n implementation 'com.ibm.icu:icu4j:50.1'\\\
        n implementation group: 'net.sf.trove4j', name: 'trove4j', version: '3.0.3'\\\
        n/\" build.gradle"
      - sed -i -e "s/, ':OsmAndCore-sample'//" ../settings.gradle
    scanignore:
      - help/website/help/map-legend_nautical.png
      - help/website/help/map-legend_default.png
      - help/website/images/dvr/4p-en.png
      - help/website/images/blog/ios-2-0/con-scrn-1.png
      - help/website/images/blog/ios-2-0/con-scrn-2.png
      - help/website/images/blog/ios-2-0/interf-2.png
      - help/website/images/blog/ios-2-0/navigat-6.png
      - android/OsmAnd/assets/fonts/RobotoSlab-Regular.ttf
    build:
      - pushd ../../OsmAnd-core/wrappers/android/
      - sed -i -e "/Native/d" settings.gradle
      - sed -i -e "/Native/d" build.gradle
      - sed -i -e "/compileTask.*copyNdkSharedLibs/d" build.gradle
      - sed -i -e "/compileTask.*copyQtSharedLibs/d" build.gradle
      - sed -i -e "/compileTask.*copyQtJarLibs/d" build.gradle
      - gradle assembleRelease
      - cd build/outputs/aar
      - unzip OsmAndCore_android-release.aar
      - cp classes.jar ../../../../../../android/OsmAnd/libs/
      - popd
    ndk: r11c

  - versionName: 3.0.2
    versionCode: 302
    commit: b6a6984b211762b0aa2d6ed7b2cacb07e2af0d83
    subdir: android/OsmAnd
    submodules: true
    sudo:
      - apt-get update
      - apt-get install --yes -t jessie-backports swig
    gradle:
      - full
      - legacy
      - fat
    rm:
      - android/OsmAnd-java/libs/*.jar
      - android/OsmAnd-java/test/libs/*.jar
      - android/OsmAnd/ant-lib/*.jar
      - android/OsmAnd/libs/*.jar
      - android/OsmAndCore-sample
    prebuild:
      - sed  -i -e "/net.osmand:OsmAndCore_android:.*SNAPSHOT@jar/d" ../OsmAnd/build.gradle
      - sed -i -e '/qt.*Compile/d' -e '/com.google.firebase/d' build.gradle ../plugins/Osmand-ParkingPlugin/build.gradle
        ../plugins/Osmand-SRTMPlugin/build.gradle ../plugins/Osmand-Skimaps/build.gradle
        ../plugins/Osmand-Nautical/build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"+play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
      - "sed -i -e \"s/compile fileTree.*/ compile 'commons-logging:commons-logging:1.1.1'\\\
        n compile group: 'net.sf.trove4j', name: 'trove4j', version: '3.0.3'\\n compile\
        \ 'org.json:json:20090211'\\n compile 'it.unibo.alice.tuprolog:tuprolog:3.2.1'\\\
        n compile 'net.sf.kxml:kxml2:2.3.0'\\n compile 'org.beanshell:bsh-core:2.0b4'\\\
        n compile 'com.ibm.icu:icu4j:50.1'\\n compile 'fr.univ-valenciennes:bzip2:1.0'\\\
        n compile 'com.moparisthebest:junidecode:0.1.1'\\n compile 'com.vividsolutions:jts-core:1.14.0'/\"\
        \ ../OsmAnd-java/build.gradle"
      - "sed -i -e \"s/implementation fileTree.*/implementation fileTree(include:\
        \ ['classes.jar'], dir: 'libs')\\n implementation 'com.ibm.icu:icu4j:50.1'\\\
        n implementation group: 'net.sf.trove4j', name: 'trove4j', version: '3.0.3'\\\
        n/\" build.gradle"
      - sed -i -e "s/, ':OsmAndCore-sample'//" ../settings.gradle
    scanignore:
      - help/website/help/map-legend_nautical.png
      - help/website/help/map-legend_default.png
      - help/website/images/dvr/4p-en.png
      - help/website/images/blog/ios-2-0/con-scrn-1.png
      - help/website/images/blog/ios-2-0/con-scrn-2.png
      - help/website/images/blog/ios-2-0/interf-2.png
      - help/website/images/blog/ios-2-0/navigat-6.png
      - android/OsmAnd/assets/fonts/RobotoSlab-Regular.ttf
    build:
      - pushd ../../OsmAnd-core/wrappers/android/
      - sed -i -e "/Native/d" settings.gradle
      - sed -i -e "/Native/d" build.gradle
      - sed -i -e "/compileTask.*copyNdkSharedLibs/d" build.gradle
      - sed -i -e "/compileTask.*copyQtSharedLibs/d" build.gradle
      - sed -i -e "/compileTask.*copyQtJarLibs/d" build.gradle
      - gradle assembleRelease
      - cd build/outputs/aar
      - unzip OsmAndCore_android-release.aar
      - cp classes.jar ../../../../../../android/OsmAnd/libs/
      - popd
    ndk: r11c

  - versionName: 3.0.3
    versionCode: 303
    commit: d4bb77548df8cdbb0690992ea6a0035188c6b7d6
    subdir: android/OsmAnd
    submodules: true
    sudo:
      - apt-get update
      - apt-get install --yes -t jessie-backports swig
    gradle:
      - full
      - legacy
      - fat
    rm:
      - android/OsmAnd-java/libs/*.jar
      - android/OsmAnd-java/test/libs/*.jar
      - android/OsmAnd/ant-lib/*.jar
      - android/OsmAnd/libs/*.jar
      - android/OsmAndCore-sample
    prebuild:
      - sed  -i -e "/net.osmand:OsmAndCore_android:.*SNAPSHOT@jar/d" ../OsmAnd/build.gradle
      - sed -i -e '/qt.*Compile/d' -e '/com.google.firebase/d' build.gradle ../plugins/Osmand-ParkingPlugin/build.gradle
        ../plugins/Osmand-SRTMPlugin/build.gradle ../plugins/Osmand-Skimaps/build.gradle
        ../plugins/Osmand-Nautical/build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"+play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
      - "sed -i -e \"s/compile fileTree.*/ compile 'commons-logging:commons-logging:1.1.1'\\\
        n compile group: 'net.sf.trove4j', name: 'trove4j', version: '3.0.3'\\n compile\
        \ 'org.json:json:20090211'\\n compile 'it.unibo.alice.tuprolog:tuprolog:3.2.1'\\\
        n compile 'net.sf.kxml:kxml2:2.3.0'\\n compile 'org.beanshell:bsh-core:2.0b4'\\\
        n compile 'com.ibm.icu:icu4j:50.1'\\n compile 'fr.univ-valenciennes:bzip2:1.0'\\\
        n compile 'com.moparisthebest:junidecode:0.1.1'\\n compile 'com.vividsolutions:jts-core:1.14.0'/\"\
        \ ../OsmAnd-java/build.gradle"
      - "sed -i -e \"s/implementation fileTree.*/implementation fileTree(include:\
        \ ['classes.jar'], dir: 'libs')\\n implementation 'com.ibm.icu:icu4j:50.1'\\\
        n implementation group: 'net.sf.trove4j', name: 'trove4j', version: '3.0.3'\\\
        n/\" build.gradle"
      - sed -i -e "s/, ':OsmAndCore-sample'//" ../settings.gradle
    scanignore:
      - help/website/help/map-legend_nautical.png
      - help/website/help/map-legend_default.png
      - help/website/images/dvr/4p-en.png
      - help/website/images/blog/ios-2-0/con-scrn-1.png
      - help/website/images/blog/ios-2-0/con-scrn-2.png
      - help/website/images/blog/ios-2-0/interf-2.png
      - help/website/images/blog/ios-2-0/navigat-6.png
      - android/OsmAnd/assets/fonts/RobotoSlab-Regular.ttf
    build:
      - pushd ../../OsmAnd-core/wrappers/android/
      - sed -i -e "/Native/d" settings.gradle
      - sed -i -e "/Native/d" build.gradle
      - sed -i -e "/compileTask.*copyNdkSharedLibs/d" build.gradle
      - sed -i -e "/compileTask.*copyQtSharedLibs/d" build.gradle
      - sed -i -e "/compileTask.*copyQtJarLibs/d" build.gradle
      - gradle assembleRelease
      - cd build/outputs/aar
      - unzip OsmAndCore_android-release.aar
      - cp classes.jar ../../../../../../android/OsmAnd/libs/
      - popd
    ndk: r11c

  - versionName: 3.0.4
    versionCode: 304
    commit: a7d4e54d09e6e366686beac50a40f06b92443a40
    subdir: android/OsmAnd
    submodules: true
    sudo:
      - apt-get update
      - apt-get install --yes -t jessie-backports swig
    gradle:
      - full
      - legacy
      - fat
    srclibs:
      - icu50-2-1-patched@0d825a9779eeb8ee35977ddf8bb4bea4119bf638
      - osmand-external-skia@chromium-41.0.2272.118
    rm:
      - android/OsmAnd-java/libs/*.jar
      - android/OsmAnd-java/test/libs/*.jar
      - android/OsmAnd/ant-lib/*.jar
      - android/OsmAnd/libs/*.jar
      - android/OsmAndCore-sample
    prebuild:
      - sed -i -e "/.*OsmAndCore.*SNAPSHOT.*/d" ../OsmAnd/build.gradle
      - sed -i -e "/ivy {/,+6d" ../OsmAnd/build.gradle
      - sed -i -e '/qt.*Compile/d' -e '/com.google.firebase/d' build.gradle ../plugins/Osmand-ParkingPlugin/build.gradle
        ../plugins/Osmand-SRTMPlugin/build.gradle ../plugins/Osmand-Skimaps/build.gradle
        ../plugins/Osmand-Nautical/build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"+play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle
      - "sed -i -e \"s/compile fileTree.*/ compile fileTree(include: ['icu4j.jar'],\
        \ dir: 'libs')\\n compile 'commons-logging:commons-logging:1.1.1'\\n compile\
        \ group: 'net.sf.trove4j', name: 'trove4j', version: '3.0.3'\\n compile 'org.json:json:20090211'\\\
        n compile 'it.unibo.alice.tuprolog:tuprolog:3.2.1'\\n compile 'net.sf.kxml:kxml2:2.3.0'\\\
        n compile 'org.beanshell:bsh-core:2.0b4'\\n compile 'fr.univ-valenciennes:bzip2:1.0'\\\
        n compile 'com.moparisthebest:junidecode:0.1.1'\\n compile 'com.vividsolutions:jts-core:1.14.0'/\"\
        \ ../OsmAnd-java/build.gradle"
      - "sed -i -e \"s/implementation fileTree.*/implementation fileTree(include:\
        \ ['classes.jar','icu4j.jar'], dir: 'libs')\\n implementation group: 'net.sf.trove4j',\
        \ name: 'trove4j', version: '3.0.3'\\n/\" build.gradle"
      - sed -i -e "s/, ':OsmAndCore-sample'//" ../settings.gradle
      - pushd ../../core-legacy/externals
      - sed -i "s/# Extract/sha256sum \$SRCLOC\/upstream.tar.gz | grep 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
        || { echo 'Failed checksum' 1>\&2; exit; }/" expat/configure.sh
      - sed -i "s/# Extract/sha256sum \$SRCLOC\/upstream.tar.bz2 | grep 0c8e242c33c45928de560d7d595db06feb41d1b22167e37260ceabe72f9e992f
        || { echo 'Failed checksum' 1>\&2; exit; }/" freetype/configure.sh
      - sed -i "s/# Extract/sha256sum \$SRCLOC\/upstream.tar.bz2 | grep f6c9dea12e41d00e253f7465d714d09248a8bcbed3415c25fd9ce50a1cdded6
        || { echo 'Failed checksum' 1>\&2; exit; }/" giflib/configure.sh
      - sed -i "s/# Extract/sha256sum \$SRCLOC\/upstream.tar.gz | grep 00029b1473f0f0ea72fbca3230e8cb25797fbb27e58ae2e46bb8bf5a806fe0b3
        || { echo 'Failed checksum' 1>\&2; exit; }/" jpeg/configure.sh
      - sed -i "s/# Extract/sha256sum \$SRCLOC\/upstream.tar.bz2 | grep 6e761e584e5d72d72fc80923e7851a468bf86538456e304aea401b99038ca92
        || { echo 'Failed checksum' 1>\&2; exit; }/" libpng/configure.sh
      - sed -i "s/# Extract/sha256sum \$SRCLOC\/upstream.tar.bz2 | grep 13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677
        || { echo 'Failed checksum' 1>\&2; exit; }/" protobuf/configure.sh
      - sed -i "s/# Extract/sha256sum \$SRCLOC\/upstream.tar.bz2 | grep 9e2e9658dfb036900da6ea0267a737fa3c4eee6666776d378c79d52e9334934
        || { echo 'Failed checksum' 1>\&2; exit; }/" zlib/configure.sh
      - sed -i "/# Download/,+8d" skia/configure.sh
      - sed -i "s/# Patch/cp -r $(echo $$osmand-external-skia$$ | sed 's/\//\\\//g')
        \$SRCLOC\/upstream.original/" skia/configure.sh
      - popd
    scanignore:
      - help/website/help/map-legend_nautical.png
      - help/website/help/map-legend_default.png
      - help/website/images/dvr/4p-en.png
      - help/website/images/blog/ios-2-0/con-scrn-1.png
      - help/website/images/blog/ios-2-0/con-scrn-2.png
      - help/website/images/blog/ios-2-0/interf-2.png
      - help/website/images/blog/ios-2-0/navigat-6.png
      - android/OsmAnd/assets/fonts/RobotoSlab-Regular.ttf
    build:
      - pushd ../../OsmAnd-core/wrappers/android/
      - sed -i -e "/Native/d" settings.gradle
      - sed -i -e "/Native/d" build.gradle
      - sed -i -e "/compileTask.*copyNdkSharedLibs/d" build.gradle
      - sed -i -e "/compileTask.*copyQtSharedLibs/d" build.gradle
      - sed -i -e "/compileTask.*copyQtJarLibs/d" build.gradle
      - gradle assembleRelease
      - cd build/outputs/aar
      - unzip OsmAndCore_android-release.aar
      - cp classes.jar ../../../../../../android/OsmAnd/libs/
      - popd
      - pushd $$icu50-2-1-patched$$/icu4j
      - ant jar
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/brkitr/*"
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/coll/*"
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/curr/*"
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/lang/*"
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/rbnf/*"
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/region/*"
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/translit/*"
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/zone/*"
      - popd
      - cp $$icu50-2-1-patched$$/icu4j/icu4j.jar libs/
      - cp $$icu50-2-1-patched$$/icu4j/icu4j.jar ../OsmAnd-java/libs/
    ndk: r11c

  - versionName: 3.1.5
    versionCode: 315
    commit: 9c355794940843b3e63b11209a0311768fe10aaf
    subdir: android/OsmAnd
    submodules: true
    sudo:
      - apt-get update
      - apt-get install --yes -t jessie-backports swig
    gradle:
      - full
      - legacy
      - fat
    srclibs:
      - icu50-2-1-patched@0d825a9779eeb8ee35977ddf8bb4bea4119bf638
      - osmand-external-skia@chromium-41.0.2272.118
    rm:
      - android/OsmAnd-java/libs/*.jar
      - android/OsmAnd-java/*.jar
      - android/OsmAnd/libs/*.jar
      - android/OsmAndCore-sample
    prebuild:
      - sed -i -e "/.*OsmAndCore.*SNAPSHOT.*/d" ../OsmAnd/build.gradle
      - sed -i -e "/ivy {/,+6d" ../OsmAnd/build.gradle
      - sed -i -e '/qt.*Compile/d' -e '/com.google.firebase/d' build.gradle ../plugins/Osmand-ParkingPlugin/build.gradle
        ../plugins/Osmand-SRTMPlugin/build.gradle ../plugins/Osmand-Skimaps/build.gradle
        ../plugins/Osmand-Nautical/build.gradle
      - sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"+play_market +gps_status -parking_plugin
        -blackberry -amazon -route_nav\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle
      - sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml
      - "sed -i -e \"s/implementation fileTree.*/ implementation fileTree(include:\
        \ ['icu4j.jar'], dir: 'libs')\\n implementation 'commons-logging:commons-logging:1.1.1'\\\
        n implementation group: 'net.sf.trove4j', name: 'trove4j', version: '3.0.3'\\\
        n implementation 'org.json:json:20090211'\\n implementation 'it.unibo.alice.tuprolog:tuprolog:3.2.1'\\\
        n implementation 'net.sf.kxml:kxml2:2.3.0'\\n implementation 'org.beanshell:bsh-core:2.0b4'\\\
        n implementation 'fr.univ-valenciennes:bzip2:1.0'\\n implementation 'com.moparisthebest:junidecode:0.1.1'\\\
        n implementation 'com.vividsolutions:jts-core:1.14.0'/\" ../OsmAnd-java/build.gradle"
      - "sed -i -e \"s/implementation fileTree.*/implementation fileTree(include:\
        \ ['classes.jar','icu4j.jar'], dir: 'libs')\\n implementation group: 'net.sf.trove4j',\
        \ name: 'trove4j', version: '3.0.3'\\n/\" build.gradle"
      - sed -i -e '/facebook/d' build.gradle
      - sed -i -e "s/, ':OsmAndCore-sample'//" ../settings.gradle
      - pushd ../../core-legacy/externals
      - sed -i "s/# Extract/sha256sum \$SRCLOC\/upstream.tar.gz | grep 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
        || { echo 'Failed checksum' 1>\&2; exit; }/" expat/configure.sh
      - sed -i "s/# Extract/sha256sum \$SRCLOC\/upstream.tar.bz2 | grep 0c8e242c33c45928de560d7d595db06feb41d1b22167e37260ceabe72f9e992f
        || { echo 'Failed checksum' 1>\&2; exit; }/" freetype/configure.sh
      - sed -i "s/# Extract/sha256sum \$SRCLOC\/upstream.tar.bz2 | grep f6c9dea12e41d00e253f7465d714d09248a8bcbed3415c25fd9ce50a1cdded6
        || { echo 'Failed checksum' 1>\&2; exit; }/" giflib/configure.sh
      - sed -i "s/# Extract/sha256sum \$SRCLOC\/upstream.tar.gz | grep 00029b1473f0f0ea72fbca3230e8cb25797fbb27e58ae2e46bb8bf5a806fe0b3
        || { echo 'Failed checksum' 1>\&2; exit; }/" jpeg/configure.sh
      - sed -i "s/# Extract/sha256sum \$SRCLOC\/upstream.tar.bz2 | grep 6e761e584e5d72d72fc80923e7851a468bf86538456e304aea401b99038ca92
        || { echo 'Failed checksum' 1>\&2; exit; }/" libpng/configure.sh
      - sed -i "s/# Extract/sha256sum \$SRCLOC\/upstream.tar.bz2 | grep 13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677
        || { echo 'Failed checksum' 1>\&2; exit; }/" protobuf/configure.sh
      - sed -i "s/# Extract/sha256sum \$SRCLOC\/upstream.tar.bz2 | grep 9e2e9658dfb036900da6ea0267a737fa3c4eee6666776d378c79d52e9334934
        || { echo 'Failed checksum' 1>\&2; exit; }/" zlib/configure.sh
      - sed -i "/# Download/,+8d" skia/configure.sh
      - sed -i "s/# Patch/cp -r $(echo $$osmand-external-skia$$ | sed 's/\//\\\//g')
        \$SRCLOC\/upstream.original/" skia/configure.sh
      - popd
      - echo "org.gradle.jvmargs=-XX:MaxHeapSize=2048m" >> ../gradle.properties
    scanignore:
      - help/website/help/map-legend_nautical.png
      - help/website/help/map-legend_default.png
      - help/website/images/dvr/4p-en.png
      - help/website/images/blog/ios-2-0/con-scrn-1.png
      - help/website/images/blog/ios-2-0/con-scrn-2.png
      - help/website/images/blog/ios-2-0/interf-2.png
      - help/website/images/blog/ios-2-0/navigat-6.png
      - android/OsmAnd/assets/fonts/RobotoSlab-Regular.ttf
    build:
      - pushd ../../OsmAnd-core/wrappers/android/
      - sed -i -e "/Native/d" settings.gradle
      - sed -i -e "/Native/d" build.gradle
      - sed -i -e "/compileTask.*copyNdkSharedLibs/d" build.gradle
      - sed -i -e "/compileTask.*copyQtSharedLibs/d" build.gradle
      - sed -i -e "/compileTask.*copyQtJarLibs/d" build.gradle
      - sed -i -e "s/mavenCentral()/mavenCentral()\n google()\n jcenter()/" build.gradle
      - gradle assembleRelease
      - cd build/outputs/aar
      - unzip OsmAndCore_android-release.aar
      - cp classes.jar ../../../../../../android/OsmAnd/libs/
      - popd
      - pushd $$icu50-2-1-patched$$/icu4j
      - ant jar
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/brkitr/*"
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/coll/*"
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/curr/*"
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/lang/*"
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/rbnf/*"
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/region/*"
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/translit/*"
      - zip -d icu4j.jar "com/ibm/icu/impl/data/icudt50b/zone/*"
      - popd
      - cp $$icu50-2-1-patched$$/icu4j/icu4j.jar libs/
      - cp $$icu50-2-1-patched$$/icu4j/icu4j.jar ../OsmAnd-java/libs/
    ndk: r11c

  - versionName: 3.1.6
    versionCode: 316
    commit: 9e7e25cfe5d77088a00aa9d869eccfd7b4ea0e78
    subdir: android/OsmAnd
    submodules: true
    sudo:
      - apt-get update
      - apt-get install --yes -t jessie-backports swig
    gradle:
      - full