Bläddra i källkod

More gradle/idea fiddling.

Force project name to 'dmdirc'. Think this was the cause of all
the nonsense.

Also add plugins in the root project, so gradle knows about all
of them (for tests etc).

Change-Id: Ic828cabe97040d2ba6cae9336392525ee6bad47c
Reviewed-on: http://gerrit.dmdirc.com/3934
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
pull/1/head
Chris Smith 9 år sedan
förälder
incheckning
2e32c899cd
3 ändrade filer med 9 tillägg och 36 borttagningar
  1. 1
    0
      .idea/gradle.xml
  2. 5
    36
      .idea/plugins.iml
  3. 3
    0
      settings.gradle

+ 1
- 0
.idea/gradle.xml Visa fil

@@ -10,6 +10,7 @@
10 10
             <option value="$PROJECT_DIR$" />
11 11
             <option value="$PROJECT_DIR$/modules" />
12 12
             <option value="$PROJECT_DIR$/modules/parser" />
13
+            <option value="$PROJECT_DIR$/modules/plugins" />
13 14
             <option value="$PROJECT_DIR$/modules/util" />
14 15
           </set>
15 16
         </option>

+ 5
- 36
.idea/plugins.iml Visa fil

@@ -1,6 +1,8 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <module external.linked.project.id="plugins" external.linked.project.path="$MODULE_DIR$/modules/plugins" external.root.project.path="$MODULE_DIR$/modules/plugins" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
3 3
   <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+    <output url="file://$MODULE_DIR$/modules/plugins/build/classes/main" />
5
+    <output-test url="file://$MODULE_DIR$/modules/plugins/build/classes/test" />
4 6
     <exclude-output />
5 7
     <content url="file://$MODULE_DIR$/modules/plugins">
6 8
       <excludeFolder url="file://$MODULE_DIR$/modules/plugins/.gradle" />
@@ -11,42 +13,9 @@
11 13
     <orderEntry type="module" module-name="dmdirc" />
12 14
     <orderEntry type="module" module-name="parser" />
13 15
     <orderEntry type="module" module-name="util" />
14
-    <orderEntry type="module-library">
15
-      <library>
16
-        <CLASSES>
17
-          <root url="file://$MODULE_DIR$/modules/plugins/lib/main" />
18
-        </CLASSES>
19
-        <JAVADOC />
20
-        <SOURCES>
21
-          <root url="file://$MODULE_DIR$/modules/plugins/lib/main" />
22
-        </SOURCES>
23
-        <jarDirectory url="file://$MODULE_DIR$/modules/plugins/lib/main" recursive="false" />
24
-        <jarDirectory url="file://$MODULE_DIR$/modules/plugins/lib/main" recursive="false" type="SOURCES" />
25
-      </library>
26
-    </orderEntry>
27
-    <orderEntry type="module-library" scope="TEST">
28
-      <library>
29
-        <CLASSES>
30
-          <root url="file://$MODULE_DIR$/modules/plugins/lib/test" />
31
-        </CLASSES>
32
-        <JAVADOC />
33
-        <SOURCES>
34
-          <root url="file://$MODULE_DIR$/modules/plugins/lib/test" />
35
-        </SOURCES>
36
-        <jarDirectory url="file://$MODULE_DIR$/modules/plugins/lib/test" recursive="false" />
37
-        <jarDirectory url="file://$MODULE_DIR$/modules/plugins/lib/test" recursive="false" type="SOURCES" />
38
-      </library>
39
-    </orderEntry>
40
-    <orderEntry type="module-library">
41
-      <library>
42
-        <CLASSES>
43
-          <root url="file://$MODULE_DIR$/lib/bundled" />
44
-        </CLASSES>
45
-        <JAVADOC />
46
-        <SOURCES />
47
-        <jarDirectory url="file://$MODULE_DIR$/lib/bundled" recursive="false" />
48
-      </library>
49
-    </orderEntry>
16
+    <orderEntry type="library" scope="TEST" name="Gradle: junit:junit:4.12-beta-1" level="project" />
17
+    <orderEntry type="library" scope="TEST" name="Gradle: org.mockito:mockito-all:1.9.5" level="project" />
18
+    <orderEntry type="library" scope="TEST" name="Gradle: org.hamcrest:hamcrest-core:1.3" level="project" />
50 19
   </component>
51 20
 </module>
52 21
 

+ 3
- 0
settings.gradle Visa fil

@@ -1,2 +1,5 @@
1
+rootProject.name = 'dmdirc'
2
+
1 3
 include 'modules:util'
2 4
 include 'modules:parser'
5
+include 'modules:plugins'

Laddar…
Avbryt
Spara