Skip to content

zJiaJun/scala-core

Repository files navigation

Scala ecosystem

环境

  • java 1.8
  • scala 2.12.12
  • gradle 6.5
  • scalikejdbc 3.5.0

使用

1. git clone [email protected]:zJiaJun/scala-core.git
2. cd scala-core
3. ./gradlew build

checkStyle

  • 使用scalafmtspotless统一编码风格

  • setup with gradle plugin
    buildscript {
        dependencies {
            classpath "com.diffplug.spotless:spotless-plugin-gradle:$versions.spotlessPlugin"
        }
    }
    
    apply plugin: "com.diffplug.gradle.spotless"
    spotless {
        scala {
            target '**/*.scala'
            scalafmt("$versions.scalafmt").configFile('checkstyle/.scalafmt.conf')
        }
    }
    
    spotlessPlugin.version = 3.28.1
    scalafmt.version = 1.5.1
    具体请看build.gradle和dependencies.gradle
    

core

  • 一些学习和研究scala过程中的例子

scalike

Releases

No releases published

Packages

No packages published

Languages