Skip to content

Commit

Permalink
Added CI github workflow and CD infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
EricSalemi committed May 28, 2020
1 parent 63d1ed3 commit 15430a2
Show file tree
Hide file tree
Showing 68 changed files with 537 additions and 1,405 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
@@ -0,0 +1,2 @@
gradlew -text
gradlew.bat -text
24 changes: 24 additions & 0 deletions .github/workflows/continuous_integration.yml
@@ -0,0 +1,24 @@
name: Continuous Integration
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.PROGUARD_CORE_PERSONAL_ACCESS_TOKEN }}
path: proguard-main
- uses: actions/checkout@v2
with:
token: ${{ secrets.PROGUARD_CORE_PERSONAL_ACCESS_TOKEN }}
repository: Guardsquare/proguard-core
ref: github-workflow
path: proguard-core
- uses: actions/setup-java@v1
with:
java-version: 8
- uses: eskatos/gradle-command-action@v1
with:
build-root-directory: proguard-main/
wrapper-directory: proguard-main/
arguments: --include-build ../proguard-core/ jar
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

2 changes: 2 additions & 0 deletions README.md
@@ -1,3 +1,5 @@
![Continuous Deployment](https://github.com/Guardsquare/proguard-clone/workflows/Continuous%20Deployment/badge.svg?branch=github-workflow)

ProGuard, Java bytecode optimizer and obfuscator
================================================

Expand Down
7 changes: 4 additions & 3 deletions annotations/build.gradle
@@ -1,6 +1,7 @@
// Gradle build script for the ProGuard annotations.

apply plugin: 'java'
plugins {
id 'java'
id 'maven-publish'
}

sourceCompatibility = "${target}"
targetCompatibility = "${target}"
Expand Down
12 changes: 0 additions & 12 deletions annotations/build.sh

This file was deleted.

3 changes: 0 additions & 3 deletions annotations/gradle.properties

This file was deleted.

34 changes: 0 additions & 34 deletions annotations/pom.xml

This file was deleted.

9 changes: 5 additions & 4 deletions ant/build.gradle
@@ -1,6 +1,7 @@
// Gradle build script for the ProGuard Ant task.

apply plugin: 'java'
plugins {
id 'java'
id 'maven-publish'
}

repositories {
jcenter()
Expand All @@ -24,6 +25,6 @@ sourceSets.main {

dependencies {
compile project(':base')
compile project(':core')
compile 'net.sf.proguard:proguard-core'
compile 'org.apache.ant:ant:1.9.7'
}
28 changes: 0 additions & 28 deletions ant/build.sh

This file was deleted.

3 changes: 0 additions & 3 deletions ant/gradle.properties

This file was deleted.

63 changes: 0 additions & 63 deletions ant/pom.xml

This file was deleted.

2 changes: 0 additions & 2 deletions ant/settings.gradle

This file was deleted.

9 changes: 5 additions & 4 deletions base/build.gradle
@@ -1,6 +1,7 @@
// Gradle build script for ProGuard.

apply plugin: 'java'
plugins {
id 'java'
id 'maven-publish'
}

repositories {
jcenter()
Expand Down Expand Up @@ -28,6 +29,6 @@ jar {


dependencies {
compile project(':core')
compile 'net.sf.proguard:proguard-core'
compile "com.google.code.gson:gson:${gsonVersion}"
}
23 changes: 0 additions & 23 deletions base/build.sh

This file was deleted.

5 changes: 0 additions & 5 deletions base/gradle.properties

This file was deleted.

61 changes: 0 additions & 61 deletions base/pom.xml

This file was deleted.

1 change: 0 additions & 1 deletion base/settings.gradle

This file was deleted.

0 comments on commit 15430a2

Please sign in to comment.