< prev index next >

build.gradle

Print this page
*** 121,11 ***
      throw new GradleException("Unexpected operating system: " + os)
  }
  
  def getCPU() {
      def cpu = System.getProperty('os.arch').toLowerCase()
!     if (cpu.startsWith('amd64')) {
          return 'x64'
      }
      if (cpu.startsWith('x86') || cpu.startsWith('i386')) {
          return 'x86'
      }
--- 121,11 ---
      throw new GradleException("Unexpected operating system: " + os)
  }
  
  def getCPU() {
      def cpu = System.getProperty('os.arch').toLowerCase()
!     if (cpu.startsWith('amd64') || cpu.startsWith('x86_64') || cpu.startsWith('x64')) {
          return 'x64'
      }
      if (cpu.startsWith('x86') || cpu.startsWith('i386')) {
          return 'x86'
      }
< prev index next >