java-censor icon indicating copy to clipboard operation
java-censor copied to clipboard

It's not working with Android

Open mohitrajput987 opened this issue 6 years ago • 3 comments

Hi,

I'm using this library with Android to censor my module project but when I created AAR file using assembleRelease task and used .aar file in a project, I can see full code in my library classes. I have done following things in my module level build.gradle file-

  1. Added apply plugin: 'com.sebchlan.javacensor' at the top of the file

  2. Added following buildscript section just below the apply plugin - buildscript { repositories { jcenter() }

    dependencies { classpath group: 'com.sebchlan.javacensor', name: 'java-censor', version: '1.1.0' } }

  3. Added after evaluate section in android section.

What am I doing wrong here?

mohitrajput987 avatar Aug 06 '18 06:08 mohitrajput987

Is there any solution for this?

mohitrajput987 avatar Aug 07 '18 06:08 mohitrajput987

Hey, sorry for the late response. If it's still an issue, can you post your full build.gradle ?

schlan avatar Jan 26 '19 17:01 schlan

Yes it's still an issue. I will make the project again and send you.

mohitrajput987 avatar Jan 27 '19 09:01 mohitrajput987