uap3.0 项目打包

准备

  1. 已经开发好的程序;
  2. docker 环境;

一、UAP3.0 打包

1. 在uap3.0开发工具中,选中要打包的程序,右键Gradle(STS) =>

refresh All

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[sts] -----------------------------------------------------
[sts] Starting Gradle build for the following tasks:
[sts] :jcz-admin:cleanEclipse
[sts] :jcz-admin:eclipse
[sts] -----------------------------------------------------
:jcz-admin:cleanEclipseClasspath
:jcz-admin:cleanEclipseJdt
:jcz-admin:cleanEclipseProject
:jcz-admin:cleanEclipse
:jcz-admin:eclipseClasspath
:jcz-admin:eclipseJdt
:jcz-admin:eclipseProject
:jcz-admin:eclipse

BUILD SUCCESSFUL

Total time: 1.177 secs
[sts] -----------------------------------------------------
[sts] Build finished succesfully!
[sts] Time taken: 0 min, 1 sec
[sts] -----------------------------------------------------

2. 选中要打包的程序,右键Gradle(STS) =>Task Quick Launcher

3. 在弹出的框中输入 “build” 然后执行

4. 在项目的build.libs路径下有打出的jar包

继开 wechat
欢迎加我的微信,共同交流技术