File: localization.gradle

package info (click to toggle)
jabref 3.8.2+ds-14
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 18,484 kB
  • sloc: java: 114,177; xml: 3,985; sh: 291; python: 283; perl: 200; ruby: 22; makefile: 8
file content (58 lines) | stat: -rw-r--r-- 1,641 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
repositories {
    jcenter()
}

configurations {
    jython
}

dependencies {
    jython 'org.python:jython-standalone:2.7.0'
}

task localizationStatusWithMarkdown(type: JavaExec) {
    description "Creates an update file in Markdown"
    group = 'Localization'
    main 'org.python.util.jython'
    classpath project.configurations.jython.asPath
    args file("scripts/syncLang.py")
    args "markdown"
}

task localizationStatus(type: JavaExec) {
    description "Prints the current status"
    group = 'Localization'
    main 'org.python.util.jython'
    classpath project.configurations.jython.asPath
    args file("scripts/syncLang.py")
    args "status"
}

task localizationStatusExtended(type: JavaExec) {
    description "Prints the current status (extended output)"
    group = 'Localization'
    main 'org.python.util.jython'
    classpath project.configurations.jython.asPath
    args file("scripts/syncLang.py")
    args "status"
    args "--extended"
}

task localizationUpdate(type: JavaExec) {
    description "Updates the localization files (fixes duplicates, adds missing keys, and sort them"
    group = 'Localization'
    main 'org.python.util.jython'
    classpath project.configurations.jython.asPath
    args file("scripts/syncLang.py")
    args "update"
}

task localizationUpdateExtended(type: JavaExec) {
    description "Updates the localization files (fixes duplicates, adds missing keys, and sort them (extended output)"
    group = 'Localization'
    main 'org.python.util.jython'
    classpath project.configurations.jython.asPath
    args file("scripts/syncLang.py")
    args "update"
    args "--extended"
}