Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Commit

Permalink
feat(se): Added empty project for java-se app
Browse files Browse the repository at this point in the history
  • Loading branch information
ex3ndr committed Jan 4, 2016
1 parent 4587f50 commit aefa649
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 8 deletions.
18 changes: 18 additions & 0 deletions actor-sdk/sdk-core-se/build.gradle
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 actor-sdk/sdk-core-se/src/main/java/im/actor/app/Main.java
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
}
}
10 changes: 2 additions & 8 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,7 @@ include ":actor-sdk:sdk-core-android:android-google-push"
include ":actor-sdk:sdk-core-ios"

//
// SDK Web
// SDK SE
//



//
// SDK Bots
//

include ":actor-sdk:sdk-bot:bot-example"
include ":actor-sdk:sdk-core-se"

0 comments on commit aefa649

Please sign in to comment.