Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
plugin:compile_only [2023/06/15 12:52] – created shedanielplugin:compile_only [2023/06/15 12:57] (current) shedaniel
Line 3: Line 3:
  
 ===== Issues ===== ===== Issues =====
-Compile Only mode will not apply any Architectury Injectables during runtime (''ArchitecturyTarget'' / ''@PlatformOnly'' / ''@Environment'' / ''EnvType'' remapping are not available).+Compile Only mode will not apply any [[plugin:platform_specific|Architectury Injectables]] during runtime (''ArchitecturyTarget'' / ''@PlatformOnly'' / ''@Environment'' / ''EnvType'' remapping are not available).
 Additionally, ''@ExpectPlatform'' will not be applied. Additionally, ''@ExpectPlatform'' will not be applied.
  
Line 10: Line 10:
 <code groovy> <code groovy>
 allprojects { allprojects {
-  // ... other code +    // ... other code 
-   +     
-  architectury { +    architectury { 
-    compileOnly() +        compileOnly() 
-  }+    }
 } }
 </code> </code>