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 Demo { | |
} |
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: 'maven' | |
uploadArchives { | |
repositories { | |
mavenDeployer { | |
repository(url: "file:/Users/peacepassion/Desktop/maven_repo") | |
pom { | |
setGroupId 'me.ele' | |
setArtifactId 'amigo-lib' | |
setVersion '0.0.10' |
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
project.android.applicationVariants.all { ApkVariant variant -> | |
println "variant class: ${variant.getClass()}" | |
ApplicationVariantImpl variant2 = (ApplicationVariantImpl) variant; | |
Field field = ApplicationVariantImpl.class.getDeclaredField("variantData") | |
field.setAccessible(true) | |
ApplicationVariantData data = field.get(variant2) | |
VariantScopeImpl scope = data.getScope(); | |
field = BaseVariantData.class.getDeclaredField('taskManager') | |
field.setAccessible(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
# First slide | |
Bla... | |
--- | |
# Second slide | |
Bla... |
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 FirstGist { | |
public static void main(String[] args) { | |
System.out.println("Hello Gist"); | |
} | |
} |