Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewModuleRootManager (0.43 sec)

  1. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/internal/IdeaScalaConfigurer.java

            if (scalaSdkLibrary != null) {
                Node newModuleRootManager = findOrCreateFirstChildWithAttributeValue(iml, "component", "name", "NewModuleRootManager");
    
                Node sdkLibrary = findOrCreateFirstChildWithAttributeValue(newModuleRootManager, "orderEntry", "name", scalaSdkLibrary.getName());
                setNodeAttribute(sdkLibrary, "type", "library");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

        private void hasScalaSdk(String imlFileName, String version) {
            def module = new XmlSlurper().parse(file(imlFileName))
            def newModuleRootManager = module.component.find { it.@name == "NewModuleRootManager" }
            assert newModuleRootManager
    
            def sdkLibrary = newModuleRootManager.orderEntry.find { it.@name == "scala-sdk-$version" }
            assert sdkLibrary
            assert sdkLibrary.@type == "library"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top