第一种方式 def SDK_PREFIXNAME = "sdk_name";//打包后名字 def SDK_VERSION = "_version101";//SDK版本号 def SDK_NAME = SDK_PREFIXNAME + SDK_VERSION + ".jar"; def zipFile = file('build/intermediates/packaged-classes/release/classes.jar') def sdk