Просмотр исходного кода

Force "main" sourceSet to "src/example/java" in CI

John S. Ryan 11 лет назад
Родитель
Сommit
c0ad51e71a
3 измененных файлов: 9 добавлений и 7 удалений
  1. 9
    0
      build.gradle
  2. 0
    3
      prime-factors/build.gradle
  3. 0
    4
      robot-name/build.gradle

+ 9
- 0
build.gradle Просмотреть файл

@@ -0,0 +1,9 @@
1
+subprojects {
2
+  apply plugin: "java"
3
+
4
+  sourceSets {
5
+    main {
6
+      java.srcDirs = ['src/example/java']
7
+    }
8
+  }
9
+}

+ 0
- 3
prime-factors/build.gradle Просмотреть файл

@@ -10,6 +10,3 @@ dependencies {
10 10
   testCompile "junit:junit:4.12"
11 11
 }
12 12
 
13
-// ignore; used by track maintainers.
14
-sourceSets { example { } }
15
-dependencies { testCompile sourceSets.example.output }

+ 0
- 4
robot-name/build.gradle Просмотреть файл

@@ -6,11 +6,7 @@ repositories {
6 6
   mavenCentral()
7 7
 }
8 8
 
9
-
10 9
 dependencies {
11 10
   testCompile "junit:junit:4.10"
12 11
 }
13 12
 
14
-// ignore; used by track maintainers.
15
-sourceSets { example { } }
16
-dependencies { testCompile sourceSets.example.output }