1 /*
2 * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 plugins {
25 id 'org.openjdk.skara.gradle.images'
26 }
27
28 module {
29 name = 'org.openjdk.skara.bots.cli'
30 test {
31 requires 'org.junit.jupiter.api'
32 requires 'org.openjdk.skara.test'
33 requires 'jdk.httpserver'
34 opens 'org.openjdk.skara.bots.cli' to 'org.junit.platform.commons'
35 }
36 }
37
38 dependencies {
39 implementation project(':bots:pr')
40 implementation project(':bots:hgbridge')
41 implementation project(':bots:forward')
42 implementation project(':bots:notify')
43 implementation project(':bots:merge')
44 implementation project(':bots:mlbridge')
45 implementation project(':bots:mirror')
46 implementation project(':bots:topological')
47 implementation project(':bots:submit')
48 implementation project(':bots:forward')
49 implementation project(':vcs')
50 implementation project(':jcheck')
51 implementation project(':host')
52 implementation project(':network')
53 implementation project(':bot')
54 implementation project(':forge')
55 implementation project(':issuetracker')
56 implementation project(':census')
57 implementation project(':json')
58 implementation project(':ini')
59 implementation project(':process')
60 implementation project(':args')
61 implementation project(':proxy')
62
63 testImplementation project(':test')
64 }
65
66 images {
67 linux_x64 {
68 modules = ['jdk.crypto.ec',
69 'org.openjdk.skara.bots.pr',
70 'org.openjdk.skara.bots.hgbridge',
71 'org.openjdk.skara.bots.forward',
72 'org.openjdk.skara.bots.notify',
73 'org.openjdk.skara.bots.merge',
74 'org.openjdk.skara.bots.mlbridge',
75 'org.openjdk.skara.bots.mirror',
76 'org.openjdk.skara.bots.submit',
77 'org.openjdk.skara.bots.topological',
78 'org.openjdk.skara.bots.forward']
79 launchers = ['skara-bots': 'org.openjdk.skara.bots.cli/org.openjdk.skara.bots.cli.BotLauncher']
80 options = ["--module-path", "plugins"]
81 bundles = ['zip', 'tar.gz']
82 jdk {
83 url = 'https://download.java.net/java/GA/jdk12/GPL/openjdk-12_linux-x64_bin.tar.gz'
84 sha256 = 'b43bc15f4934f6d321170419f2c24451486bc848a2179af5e49d10721438dd56'
85 }
86 }
87 }