1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
---|---|
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #ifndef GRADLEBUILDERGENERATOR_H |
6 | #define GRADLEBUILDERGENERATOR_H |
7 | |
8 | #include "services/builder/buildergenerator.h" |
9 | |
10 | class GradleBuilderGeneratorPrivate; |
11 | class GradleBuilderGenerator : public dpfservice::BuilderGenerator |
12 | { |
13 | Q_OBJECT |
14 | public: |
15 | explicit GradleBuilderGenerator(); |
16 | virtual ~GradleBuilderGenerator() override; |
17 | |
18 | static QString toolKitName() { return "gradle"; } |
19 | |
20 | BuildCommandInfo getMenuCommand(const BuildMenuType buildMenuType, const dpfservice::ProjectInfo &projectInfo) override; |
21 | void appendOutputParser(std::unique_ptr<IOutputParser> &outputParser) override; |
22 | bool checkCommandValidity(const BuildCommandInfo &info, QString &retMsg) override; |
23 | |
24 | signals: |
25 | |
26 | private slots: |
27 | private: |
28 | GradleBuilderGeneratorPrivate *const d; |
29 | }; |
30 | |
31 | #endif // GRADLEBUILDERGENERATOR_H |
32 |