Skip to content

Commit

Permalink
test maven import gson
Browse files Browse the repository at this point in the history
  • Loading branch information
mmin18 committed Aug 21, 2015
1 parent 9483786 commit 6927aab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions sample-androidstudio/CastLibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.google.code.gson:gson:2.3.1'
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
package com.github.mmin18.layoutcast.library;

import com.google.gson.Gson;

/**
* Created by mmin18 on 8/8/15.
*/
public class Lib {
// import gson to test if layout cast can compile me correctly
protected Gson gson = new Gson();

@Override
public String toString() {
return "A string from Java code in CastLibrary project";
Expand Down

0 comments on commit 6927aab

Please sign in to comment.