Skip to content
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.class
.gradle

# Package Files #
*.jar
Expand Down
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,21 @@ Known issues
======
[Application-specific password](https://support.google.com/accounts/answer/185833) should be used in case of 2-step verification on google account. Otherwise LoginException with reason "BadAuthentication InvalidSecondFactor" will be thrown.

How to install
======
```
# build
gradle installDist

# run
./build/install/gaecl/bin/gaeshell --help
```

Examples of usage
======
Set namespace:
```
> namespace "-GLOBAL-";
> namespace -GLOBAL-;
namespace is now "-GLOBAL-"
```

Expand Down Expand Up @@ -103,8 +113,3 @@ Complete list of supported ​data types:
* User
* List
* StringList

Build dependencies
===
- commons-cli-1.2
- commons-io-2.4
43 changes: 43 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
apply plugin: 'java'
apply plugin: 'application'

ext {
appengineSdkVersion = '1.9.42'
}

compileJava {
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
}

repositories {
mavenCentral()
}

dependencies {
compile group: 'commons-io', name: 'commons-io', version: '2.4'
compile group: 'commons-cli', name: 'commons-cli', version: '1.2'
compile group: 'com.google.appengine', name: 'appengine-api-1.0-sdk', version: "${appengineSdkVersion}"
compile group: 'com.google.appengine', name: 'appengine-remote-api', version: "${appengineSdkVersion}"
}

sourceSets {
main {
java {
srcDir 'src'
}
}
}

jar {
manifest {
attributes 'Main-Class': 'com.inpun.alt.gaecl.AppEngineShell'
}
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}

mainClassName = 'com.inpun.alt.gaecl.AppEngineShell'

startScripts {
applicationName = 'gaeshell'
}