mirror of
				https://github.com/JetBrains/intellij-platform-plugin-template.git
				synced 2025-06-13 13:04:09 +00:00 
			
		
		
		
	Fix README.md resolution
In some build environments projectDir may differ from current working directory. In such environments build before this change would fail with IOException.
This commit is contained in:
		
							parent
							
								
									df2e2320cd
								
							
						
					
					
						commit
						4f47d78be9
					
				| @ -87,7 +87,7 @@ tasks { | |||||||
|         // Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest |         // Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest | ||||||
|         pluginDescription( |         pluginDescription( | ||||||
|             closure { |             closure { | ||||||
|                 File("./README.md").readText().lines().run { |                 File(projectDir, "README.md").readText().lines().run { | ||||||
|                     val start = "<!-- Plugin description -->" |                     val start = "<!-- Plugin description -->" | ||||||
|                     val end = "<!-- Plugin description end -->" |                     val end = "<!-- Plugin description end -->" | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user