This repository has been archived by the owner on Feb 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 730
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(se): Added empty project for java-se app
- Loading branch information
Showing
3 changed files
with
34 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
apply plugin: 'application' | ||
|
||
mainClassName = "im.actor.app.Main" | ||
|
||
run { | ||
if ( project.hasProperty("appArgs") ) { | ||
args Eval.me(appArgs) | ||
} | ||
} | ||
|
||
dependencies { | ||
compile "org.apache.commons:commons-io:1.3.2" | ||
compile project(':actor-sdk:sdk-core:core:core-se') | ||
} |
14 changes: 14 additions & 0 deletions
14
actor-sdk/sdk-core-se/src/main/java/im/actor/app/Main.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package im.actor.app; | ||
|
||
import im.actor.core.ConfigurationBuilder; | ||
import im.actor.core.JavaSeMessenger; | ||
|
||
public class Main { | ||
|
||
public static void main(String[] args) { | ||
ConfigurationBuilder builder = new ConfigurationBuilder(); | ||
// TODO: Perform required configuration | ||
JavaSeMessenger messenger = new JavaSeMessenger(builder.build()); | ||
// TODO: Start working with messenger object | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters