This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20:51:19.786 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@1aac087b, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@1460d0eb, org.gradle.logging.internal.JavaUtilLoggingConfigurer@6033fec0] | |
20:51:20.807 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@1aac087b, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@1460d0eb, org.gradle.logging.internal.JavaUtilLoggingConfigurer@6033fec0] | |
20:51:20.813 [INFO] [org.gradle.BuildLogger] Starting Build | |
20:51:20.814 [DEBUG] [org.gradle.BuildLogger] Gradle user home: /home/ethan/.gradle | |
20:51:20.816 [DEBUG] [org.gradle.BuildLogger] Current dir: /home/ethan/IdeaProjects/PinballTracker | |
20:51:20.818 [DEBUG] [org.gradle.BuildLogger] Settings file: null | |
20:51:20.820 [DEBUG] [org.gradle.BuildLogger] Build file: null | |
20:51: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.ehdev; | |
public class MagicalLand { | |
public static void main(String[] args) { | |
for (int i = 0; i < (Math.random() * 500) + 2; i++) { | |
if (Unicorn.pat()) { | |
System.out.println("UNICORN #1: PAT THIS UNICORN ONCE"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class RootActivity extends SherlockFragmentActivity implements ActionBar.TabListener { | |
static private Fragment listOfFragments[]; | |
private static final String TAG = RootActivity.class.getName(); | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
if (savedInstanceState == null) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.3' | |
} | |
} | |
sourceCompatibility = JavaVersion.VERSION_1_6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.ehdev.android.example.wheel.layout; | |
import android.content.Context; | |
import android.graphics.Canvas; | |
import android.util.DisplayMetrics; | |
import android.widget.TextView; | |
public class MyView extends TextView { | |
private static final int MAX_INDENT = 300; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.widget.ListView; | |
import android.widget.AbsListView; | |
import android.content.Context; | |
public class HalfCircleListView extends ListView implements AbsListView.OnScrollListener { | |
public HalfCircleListView(Context context) { | |
super(context); | |
setOnScrollListener(this); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
println("dependencies {") | |
def ivyModule = new XmlParser().parse(new File('ivy.xml')) | |
ivyModule.dependencies.dependency.each { | |
def scope = it.@conf?.contains("test") ? "testCompile" : "compile" | |
println("\t$scope '${it.@org}:${it.@name}:${it.@rev}'") | |
} | |
println("}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.gradle.parallel=true | |
org.gradle.configureondemand=true | |
org.gradle.daemon=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'java' | |
apply plugin: 'idea' | |
def imlName = name + (hasProperty('generate12') ? '.ij12' : '.ij13') | |
idea { | |
module { | |
name = imlName | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example | |
import groovy.util.logging.Slf4j | |
import org.springframework.boot.SpringApplication | |
import org.springframework.boot.autoconfigure.EnableAutoConfiguration | |
import org.springframework.context.ApplicationContext | |
import org.springframework.context.annotation.ComponentScan | |
import org.springframework.context.annotation.Configuration | |
import org.springframework.context.annotation.Import | |
import org.springframework.web.servlet.config.annotation.EnableWebMvc |
OlderNewer