File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ set LANG=deviceConnectKotlinPlugin
44:: プロファイル定義ファイル
55set SPEC = .\sample-profile-specs\swagger.json
66
7+
8+ :: テンプレート
9+ set TEMPLATE_DIR = " ./templates/deviceConnectKotlinPlugin"
10+
711:: スケルトンコード出力先
812set OUTPUT_DIR = .\output\Android\MyPluginForKotlin
913
@@ -16,4 +20,4 @@ set DISPLAY_NAME=MyPluginForKotlin
1620:: スケルトンコード生成ツールのバイナリ
1721set JAR_FILE = ..\bin\deviceconnect-codegen.jar
1822
19- java -Dfile.encoding=UTF-8 -jar %JAR_FILE% --config .\configs\android-plugin-kotlin.json --input-spec %SPEC% --lang %LANG% --package-name %PACKAGE_NAME% --display-name %DISPLAY_NAME% --output %OUTPUT_DIR%
23+ java -Dfile.encoding=UTF-8 -jar %JAR_FILE% --config .\configs\android-plugin-kotlin.json --template-dir %TEMPLATE_DIR% -- input-spec %SPEC% --lang %LANG% --package-name %PACKAGE_NAME% --display-name %DISPLAY_NAME% --output %OUTPUT_DIR%
You can’t perform that action at this time.
0 commit comments