Skip to content

Instantly share code, notes, and snippets.

View ylxs90's full-sized avatar

hxiao ylxs90

  • none
  • china/shenzhen
View GitHub Profile
@ylxs90
ylxs90 / gradle.groovy
Last active April 2, 2021 14:19
gradle tasks
def configPath = "H:\\fc\\config"
/**
* copy spring config file from subprojects to direct path(configPath)
*/
task collectConfigFiles() {
def path = new File(configPath)
path.deleteDir()
path.mkdirs()
project.subprojects.findAll { it.subprojects.isEmpty() }.each({ p ->
package com.java.hxhua01;
public class TestMethod {
public static void main(String[] args) {
test01(1000);
test02(100, 6, 3);//1-100之間,可以被6整除,每行輸出3個
System.out.println("****************");
int s = add(3, 5);
System.out.println(s);
}
@ylxs90
ylxs90 / java
Created March 4, 2018 13:33
java
package com;
public class Hello {
public static void main(String[] args) {
System.out.println("hello world");
}
}
package cn.com.hxiao.test;
/**
* Created by hxiao on 2014/3/29.
*/
public class FirstDemo {
private String name;
public int getAge() {