Compare commits

..

No commits in common. "master" and "0.2" have entirely different histories.
master ... 0.2

4 changed files with 2 additions and 50 deletions

View File

@ -1,19 +0,0 @@
### Sample Module Gradle
[![](https://jitpack.io/v/com.cubetiqs.git.CUBETIQ/sample-module-gradle.svg)](https://jitpack.io/#com.cubetiqs.git.CUBETIQ/sample-module-gradle)
#### Gradle
<b>Step 1</b>. Add the JitPack repository to your build file.
```groovy
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
```
<b>Step 2</b>. Add the dependency.
```groovy
dependencies {
implementation 'com.cubetiqs.git.CUBETIQ:sample-module-gradle:0.0.1-SNAPSHOT'
}
```

View File

@ -1 +1,2 @@
rootProject.name = 'sample-module-gradle'
rootProject.name = 'sample-module-gradle'

View File

@ -10,16 +10,6 @@ public class Print {
public static final String ID = "PRINT";
public static void print(String message) {
System.out.print(ID + " : " + message);
}
public static void println(String message) {
System.out.println(ID + " : " + message);
}
}
class Main {
public static void main(String[] args) {
Print.print("Hello");
}
}

View File

@ -1,20 +0,0 @@
package com.cubetiqs.util;
/**
* String util helper
*
* @author sombochea
* @since 1.0
*/
public final class StringHelper {
public static String getOrDefault(String text, String fallback) {
if (text == null || text.isEmpty()) {
return fallback;
}
return text;
}
public static String getOrEmpty(String text) {
return getOrDefault(text, "");
}
}