forked from Cutieguwu/raven
forked 6ad82c3339 and refactored to combine prey.toml with nest.toml. The WorkspaceHandler.discover_packages() function is very broken
This commit is contained in:
2
Test1/app/.gitignore
vendored
Normal file
2
Test1/app/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
target/
|
||||
*.class
|
||||
7
Test1/app/Prey.toml
Normal file
7
Test1/app/Prey.toml
Normal file
@@ -0,0 +1,7 @@
|
||||
[package]
|
||||
name = "app"
|
||||
version = "0.1.0"
|
||||
entry_point = "com/raven/Main.java"
|
||||
|
||||
[dependencies]
|
||||
code = {path = "../core"}
|
||||
23
Test1/app/pom.xml
Normal file
23
Test1/app/pom.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
||||
http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>com.raven</groupId>
|
||||
<artifactId>multi-module-demo</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>app</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.raven</groupId>
|
||||
<artifactId>core</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
7
Test1/app/src/main/java/com/raven/Main.java
Normal file
7
Test1/app/src/main/java/com/raven/Main.java
Normal file
@@ -0,0 +1,7 @@
|
||||
package com.raven;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello, World!");
|
||||
}
|
||||
}
|
||||
5
Test1/app/src/test/java/Test.java
Normal file
5
Test1/app/src/test/java/Test.java
Normal file
@@ -0,0 +1,5 @@
|
||||
public class Test {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("This is a test.");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user