|  | @ -1,3 +1,5 @@ | 
			
		
	
		
		
			
				
					|  |  |  |  |  | import org.gradle.api.artifacts.DependencyResolveDetails | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | apply from: "build-version.gradle" |  |  | apply from: "build-version.gradle" | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | def isFrontendProject(currentDir){ |  |  | def isFrontendProject(currentDir){ | 
			
		
	
	
		
		
			
				
					|  | @ -48,10 +50,18 @@ subprojects { | 
			
		
	
		
		
			
				
					|  |  | 	    //resolutionStrategy.cacheChangingModulesFor 0, 'seconds'     //静态版本: 1.1.2 |  |  | 	    //resolutionStrategy.cacheChangingModulesFor 0, 'seconds'     //静态版本: 1.1.2 | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |         //排除不需要的外部依赖 |  |  |         //排除不需要的外部依赖 | 
			
		
	
		
		
			
				
					
					|  |  |         //exclude group: "org.apache.logging.log4j",  module: "log4j-api" |  |  | //	    exclude group: "org.apache.logging.log4j",  module: "log4j-api" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         //exclude group: "org.apache.logging.log4j",  module: "log4j-to-slf4j" |  |  | //      exclude group: "org.apache.logging.log4j",  module: "log4j-to-slf4j" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         //exclude group: "org.slf4j",                 module: "slf4j-jdk14" |  |  | //      exclude group: "org.slf4j",                 module: "slf4j-jdk14" | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |         exclude group: "org.slf4j",                 module: "slf4j-nop" |  |  |         exclude group: "org.slf4j",                 module: "slf4j-nop" | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         resolutionStrategy.eachDependency { DependencyResolveDetails detail -> | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             def requested =detail.requested; | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             def groupAndName =requested.group + ":" + requested.name; | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             if(PlatformDependencyVersions[groupAndName]!=null){ | 
			
		
	
		
		
			
				
					|  |  |  |  |  |                 detail.useVersion(PlatformDependencyVersions[groupAndName]); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					|  |  | 	} |  |  | 	} | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | 	dependencyManagement { |  |  | 	dependencyManagement { | 
			
		
	
	
		
		
			
				
					|  | @ -672,7 +682,16 @@ subprojects { | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     processResources { |  |  |     processResources { | 
			
		
	
		
		
			
				
					|  |  |         if(isFrontendProject(file('.'))) { |  |  |         if(isFrontendProject(file('.'))) { | 
			
		
	
		
		
			
				
					
					|  |  |             exclude("**/${project.name}/*.*") |  |  |             exclude("**/${project.name}/*.*"); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |             if(project.name!='io.sc.platform.mvc.frontend' && project.name!='io.sc.platform.security.frontend'){ | 
			
		
	
		
		
			
				
					|  |  |  |  |  | //                exclude("**/${project.name}/javascript/codemirror.*"); | 
			
		
	
		
		
			
				
					|  |  |  |  |  | //                exclude("**/${project.name}/javascript/echarts.*"); | 
			
		
	
		
		
			
				
					|  |  |  |  |  | //                exclude("**/${project.name}/javascript/platform-core.*"); | 
			
		
	
		
		
			
				
					|  |  |  |  |  | //                exclude("**/${project.name}/javascript/quasar.*"); | 
			
		
	
		
		
			
				
					|  |  |  |  |  | //                exclude("**/${project.name}/javascript/vue.*"); | 
			
		
	
		
		
			
				
					|  |  |  |  |  | //                exclude("**/${project.name}/fonts/*.*"); | 
			
		
	
		
		
			
				
					|  |  |  |  |  | //                exclude("**/${project.name}/webjars/**/*.*"); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					|  |  |         } |  |  |         } | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 |