noidsirius / SootTutorial

A step-by-step tutorial for Soot (a Java static analysis framework)
GNU General Public License v3.0
430 stars 177 forks source link

Support on windows without docker 'Desktop on windows with linux containers' #4

Open nagkumar opened 4 years ago

nagkumar commented 4 years ago

Instead of expecting containers approach, it would be nice to support direct Gradle on windows, this way number of steps required would be less.

noidsirius commented 4 years ago

Did you try following the setup steps without docker? Since I'm working on a Mac I didn't have a chance to run it on Windows; however, since the project is based on Gradle I suppose it should work on Windows as well.

nagkumar commented 4 years ago

There are 3 shell script files, which is breaking the gradle build on windows

  1. buildDemo.sh
  2. SootTutorial\demo\Android\sign.sh
  3. SootTutorial\demo\compile.sh

C:\SootTutorial>gradlew check Downloading https://services.gradle.org/distributions/gradle-5.4.1-all.zip ..............................................................................................................................

Welcome to Gradle 5.4.1!

Here are the highlights of this release:

For more details see https://docs.gradle.org/5.4.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

Task :buildDemoClass FAILED

FAILURE: Build failed with an exception.

BUILD FAILED in 46s 1 actionable task: 1 executed

Did you try following the setup steps without docker? Since I'm working on a Mac I didn't have a chance to run it on Windows; however, since the project is based on Gradle I suppose it should work on Windows as well.

noidsirius commented 4 years ago

Thanks for the info