zoukankan      html  css  js  c++  java
  • toy jar

    .
    ├── build.gradle
    ├── settings.gradle
    └── src
        └── main
            └── java
                └── toy
                    └── App.java

    build.gradle

    /*
     * This file was generated by the Gradle 'init' task.
     *
     * This generated file contains a sample Java project to get you started.
     * For more details take a look at the Java Quickstart chapter in the Gradle
     * User Manual available at https://docs.gradle.org/5.4.1/userguide/tutorial_java_projects.html
     */
    
    plugins {
        // Apply the java plugin to add support for Java
        id 'java'
    
        // Apply the application plugin to add support for building an application
        id 'application'
    }
    
    repositories {
        maven {
                url 'http://maven.aliyun.com/nexus/content/groups/public/'
        }
    }
    
    dependencies {
        // This dependency is found on compile classpath of this component and consumers.
        compile 'com.google.guava:guava:27.0.1-jre'
        compile 'org.apache.commons:commons-lang3:3.9'
        compile 'org.apache.commons:commons-exec:1.3'
        compile 'javax.xml.bind:jaxb-api:2.3.1'
    }
    
    
    jar {
        manifestContentCharset 'utf-8'
        metadataCharset 'utf-8'
        manifest {
            attributes 'Main-Class': 'toy.App'
        }
        from {
            configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
        }
    }
    
    // Define the main class for the application
    mainClassName = 'toy.App'

    settings.gradle

    /*
     * This file was generated by the Gradle 'init' task.
     *
     * The settings file is used to specify which projects to include in your build.
     *
     * Detailed information about configuring a multi-project build in Gradle can be found
     * in the user manual at https://docs.gradle.org/5.4.1/userguide/multi_project_builds.html
     */
    
    rootProject.name = 'toy'
  • 相关阅读:
    【转】【金蝶K3Cloud】 分页账表
    【转】【金蝶K3Cloud】 树形账表
    【金蝶K3Cloud】Python拼接字段
    性能分析及调优
    性能测试指南
    性能测试--测试指标
    性能测试--术语解释
    BurpSuite 安装使用
    BeEF 安装使用
    win10与vmware 中的kali linux 共享文件夹
  • 原文地址:https://www.cnblogs.com/Searchor/p/11198151.html
Copyright © 2011-2022 走看看