zoukankan      html  css  js  c++  java
  • springboots 配置文件

    1.build.gradle

    buildscript {
      // 声明变量 ext { springBootVersion = '1.5.2.RELEASE' }
      // 仓库 repositories { mavenCentral() }
      // 依赖 dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") } } apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'org.springframework.boot' apply plugin: 'io.spring.dependency-management' group = 'com.song.spring.boot.blog' version = '1.0.0' sourceCompatibility = 1.8 // 仓库 repositories { mavenCentral() } // 依赖 dependencies { compile('org.springframework.boot:spring-boot-starter-web') testCompile('org.springframework.boot:spring-boot-starter-test') }

    2.gradlew 在线编译(可以不下载gradle安装包,在线可编译)

       和gradle/wrapper/gradle-wrapper.properties一起使用

      gradle-wrapper.properties 比较重要的代码:distributionUrl=https://services.gradle.org/distributions/gradle-4.8.1-bin.zip 随需求可已改

      编译命令: gradlew build (比下载gradle之后的编译命令多了一个w)

    3.settings.gradle 

      工程名称

  • 相关阅读:
    决策树
    Caffe:深入分析(怎么训练)
    Caffe深度学习计算框架
    Caffe参数交换源码分析
    Net的网络层的构建(源码分析)
    FineTuning机制的分析
    Caffe::Snapshot的运行过程
    AdaBoost算法
    SVM支持向量机
    SMO序列最小最优化算法
  • 原文地址:https://www.cnblogs.com/xiaoyezi/p/9295164.html
Copyright © 2011-2022 走看看