Skip to content

Commit 9b577cf

Browse files
authored
Merge pull request #88 from RTMC/master
Added RPlugin to ProjectType.
2 parents 76dfbc6 + b9ae5a2 commit 9b577cf

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

tmc-langs-r/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
<version>${project.version}</version>
1717
</dependency>
1818
<dependency>
19-
<groupId>fi.helsinki.cs.tmc</groupId>
20-
<artifactId>tmc-langs-util</artifactId>
21-
<version>${project.version}</version>
19+
<groupId>org.apache.commons</groupId>
20+
<artifactId>commons-lang3</artifactId>
21+
<version>3.3.2</version>
2222
</dependency>
2323
</dependencies>
2424
</project>

tmc-langs-util/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@
6666
<version>${project.version}</version>
6767
<type>jar</type>
6868
</dependency>
69+
<dependency>
70+
<groupId>fi.helsinki.cs.tmc</groupId>
71+
<artifactId>tmc-langs-r</artifactId>
72+
<version>${project.version}</version>
73+
<type>jar</type>
74+
</dependency>
6975
<!--<dependency>>
7076
<groupId>fi.helsinki.cs.tmc</groupId>
7177
<artifactId>tmc-langs-rust</artifactId>

tmc-langs-util/src/main/java/fi/helsinki/cs/tmc/langs/util/ProjectType.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import fi.helsinki.cs.tmc.langs.java.maven.MavenPlugin;
88
import fi.helsinki.cs.tmc.langs.make.MakePlugin;
99
import fi.helsinki.cs.tmc.langs.python3.Python3Plugin;
10+
import fi.helsinki.cs.tmc.langs.r.RPlugin;
1011

1112
import org.slf4j.Logger;
1213
import org.slf4j.LoggerFactory;
@@ -20,6 +21,7 @@ public enum ProjectType {
2021
NO_TESTS(new NoTestsPlugin()), // Must be before Makefile for compatability reasons
2122
MAKEFILE(new MakePlugin()),
2223
PYTHON3(new Python3Plugin()),
24+
R(new RPlugin()),
2325
JAVA_MAVEN(new MavenPlugin()),
2426
// for legacy and matching reasons keep the java ant as the last choise.
2527
JAVA_ANT(new AntPlugin());

0 commit comments

Comments
 (0)