Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Min setup for initial commit #1

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ See https://docs.gradle.org/current/userguide/java_platform_plugin.html

## Remote Module Download / Dynamic Class Loading

An example of the Java SPI api is shown in the `org.misq.common.classloader` package.
An example of the Java SPI api is shown in the `misq.common.classloader` package.

Prerequisite: copy `bitcoinj-impl-0.0.1-SNAPSHOT.jar` to extension dir `ext`:
`$ ./gradlew installBitcoinjImplJar`
`$ ./gradlew installBitcoinjImplJar`

The bitcoinj spi poc:
- Downloads `https://jitpack.io/com/github/bisq-network/bitcoinj/v0.15.8/bitcoinj-v0.15.8.jar` to the Misq extensions
Expand Down
28 changes: 0 additions & 28 deletions api/build.gradle

This file was deleted.

12 changes: 0 additions & 12 deletions api/src/main/java/org/misq/api/ApiDependencyInjectionModule.java

This file was deleted.

42 changes: 0 additions & 42 deletions api/src/main/java/org/misq/api/CoreApi.java

This file was deleted.

12 changes: 0 additions & 12 deletions api/src/main/java/org/misq/api/CoreApiFactory.java

This file was deleted.

8 changes: 1 addition & 7 deletions application/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repositories {
version '0.0.1-SNAPSHOT'

application {
project.mainClassName = 'org.misq.application.ApplicationMain'
project.mainClassName = 'misq.application.ApplicationMain'
}

distributions {
Expand All @@ -22,15 +22,9 @@ distributions {

dependencies {
implementation(project(':common'))
implementation(project(':p2p'))
implementation project(':api')
implementation project(':grpc')
implementation project(':web')
implementation project(':wallets:wallet-installer')

// Get recommended versions from the common-platform -> grpc-platform projects.
api platform(project(':platforms:common-platform'))
api platform(project(':platforms:grpc-platform'))

implementation 'org.slf4j:slf4j-api'
implementation 'ch.qos.logback:logback-core'
Expand Down
12 changes: 12 additions & 0 deletions application/out/production/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="CONSOLE_APPENDER" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%highlight(%d{MMM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{30}: %msg %xEx%n)</pattern>
</encoder>
</appender>

<root level="INFO">
<appender-ref ref="CONSOLE_APPENDER"/>
</root>
</configuration>
12 changes: 12 additions & 0 deletions application/src/main/java/misq/application/ApplicationMain.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package misq.application;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class ApplicationMain {
private static final Logger log = LoggerFactory.getLogger(ApplicationMain.class);
public static void main(String[] args) {
log.info("ApplicationMain");
}
}

This file was deleted.

27 changes: 0 additions & 27 deletions application/src/main/java/org/misq/application/MisqApi.java

This file was deleted.

138 changes: 0 additions & 138 deletions application/src/main/java/org/misq/application/MisqAppMain.java

This file was deleted.

Loading