Skip to content

Commit

Permalink
fix to mls build
Browse files Browse the repository at this point in the history
  • Loading branch information
dghgit committed Feb 29, 2024
1 parent 26cf352 commit cc4c67b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
35 changes: 19 additions & 16 deletions mls/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,30 @@ plugins {
// OSGI
id "biz.aQute.bnd.builder" version "7.0.0"
// Provide convenience executables for trying out the examples.
// id 'application'
id 'application'
id 'com.google.protobuf' version '0.9.4'
// Generate IntelliJ IDEA's .idea & .iml project files
// id 'idea'
}

//apply plugin: 'java'
//apply plugin: 'com.google.protobuf'
apply plugin: 'java'
apply plugin: 'com.google.protobuf'

sourceSets {

main {
java {
srcDirs 'build/generated/source/proto/main/grpc'
srcDirs 'build/generated/source/proto/main/java'
}
}

java9 {
java {
srcDirs = ['src/main/jdk1.9']
}
}
}

dependencies {
implementation project(':core')
Expand Down Expand Up @@ -102,19 +118,6 @@ protobuf {

jar.archiveBaseName = "bcmls-$vmrange"

sourceSets {
main {
java {
srcDirs 'build/generated/source/proto/main/grpc'
srcDirs 'build/generated/source/proto/main/java'
}
}
java9 {
java {
srcDirs = ['src/main/jdk1.9']
}
}
}

startScripts.enabled = false

Expand Down
2 changes: 0 additions & 2 deletions mls/src/main/jdk1.9/module-info.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module org.bouncycastle.mls
{
provides java.security.Provider with org.bouncycastle.jsse.provider.BouncyCastleJsseProvider;

requires java.logging;
requires org.bouncycastle.provider;
requires org.bouncycastle.util;
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ include "pkix"
include "prov"
include "tls"
include "test"
//include "mls"
include "mls"
include "mail"
include "jmail"

0 comments on commit cc4c67b

Please sign in to comment.